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:
parent
8ccec81cc6
commit
148ee266ed
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user