diff --git a/include/boost/unordered/unordered_flat_map.hpp b/include/boost/unordered/unordered_flat_map.hpp index 37344c50..9229f381 100644 --- a/include/boost/unordered/unordered_flat_map.hpp +++ b/include/boost/unordered/unordered_flat_map.hpp @@ -72,6 +72,16 @@ namespace boost { void erase(const_iterator pos) { return table_.erase(pos); } size_type erase(key_type const& key) { return table_.erase(key); } + /// Lookup + /// + + iterator find(key_type const& key) { return table_.find(key); } + + const_iterator find(key_type const& key) const + { + return table_.find(key); + } + std::pair equal_range(key_type const& key) { auto pos = table_.find(key);