Add operator == for the range template

This commit is contained in:
Joe Thornber 2013-04-29 16:12:34 +01:00
parent 5e26d51372
commit fa96ec6301

View File

@ -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_;
};