1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-04-21 02:37:44 +00:00

Extend operator== path.

This commit is contained in:
Thomas Harte 2025-04-06 22:37:59 -04:00
parent 8ccec81cc6
commit 148ee266ed

View File

@ -112,6 +112,10 @@ struct SegmentRegisterSet {
return values_[index_of(segment)];
}
bool operator ==(const SegmentRegisterSet<SegmentT> &rhs) const {
return values_ == rhs.values_;
}
private:
std::array<SegmentT, 6> values_;
static constexpr size_t index_of(const Source segment) {