Add operator == for the range template
This commit is contained in:
parent
5e26d51372
commit
fa96ec6301
@ -16,6 +16,10 @@ namespace thin_provisioning {
|
||||
end_(end) {
|
||||
}
|
||||
|
||||
bool operator ==(range<T> const &r) const {
|
||||
return (begin_ == r.begin_ && end_ == r.end_);
|
||||
}
|
||||
|
||||
maybe begin_;
|
||||
maybe end_;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user