diff --git a/base/run_set.h b/base/run_set.h index 604daa8..3a1a769 100644 --- a/base/run_set.h +++ b/base/run_set.h @@ -92,6 +92,14 @@ namespace base { return runs_.end(); } + const_iterator lower_bound(T const &b) const { + return runs_.lower_bound(run(b, b + 1)); + } + + const_iterator upper_bound(T const &b) const { + return runs_.upper_bound(run(b, b + 1)); + } + void negate() { rset replacement;