mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-07 23:25:00 +00:00
Extend operator== path.
This commit is contained in:
@@ -112,6 +112,10 @@ struct SegmentRegisterSet {
|
|||||||
return values_[index_of(segment)];
|
return values_[index_of(segment)];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool operator ==(const SegmentRegisterSet<SegmentT> &rhs) const {
|
||||||
|
return values_ == rhs.values_;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::array<SegmentT, 6> values_;
|
std::array<SegmentT, 6> values_;
|
||||||
static constexpr size_t index_of(const Source segment) {
|
static constexpr size_t index_of(const Source segment) {
|
||||||
|
Reference in New Issue
Block a user