diff options
Diffstat (limited to 'runtime/safe_map.h')
-rw-r--r-- | runtime/safe_map.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/safe_map.h b/runtime/safe_map.h index b54f587715..f29869172e 100644 --- a/runtime/safe_map.h +++ b/runtime/safe_map.h @@ -79,6 +79,9 @@ class SafeMap { iterator lower_bound(const K& k) { return map_.lower_bound(k); } const_iterator lower_bound(const K& k) const { return map_.lower_bound(k); } + iterator upper_bound(const K& k) { return map_.upper_bound(k); } + const_iterator upper_bound(const K& k) const { return map_.upper_bound(k); } + size_type count(const K& k) const { return map_.count(k); } // Note that unlike std::map's operator[], this doesn't return a reference to the value. |