diff --git a/include/boost/unordered/unordered_map.hpp b/include/boost/unordered/unordered_map.hpp index a41e1d9c..f44b8e71 100644 --- a/include/boost/unordered/unordered_map.hpp +++ b/include/boost/unordered/unordered_map.hpp @@ -1448,6 +1448,28 @@ namespace boost { iterator find(const key_type&); const_iterator find(const key_type&) const; + template + typename boost::enable_if_c::value && + detail::is_transparent::value, + iterator>::type + find(const Key& key) + { + return iterator(table_.find_node_impl( + table::policy::apply_hash(this->hash_function(), key), key, + this->key_eq())); + } + + template + typename boost::enable_if_c::value && + detail::is_transparent::value, + const_iterator>::type + find(const Key& key) const + { + return const_iterator(table_.find_node_impl( + table::policy::apply_hash(this->hash_function(), key), key, + this->key_eq())); + } + template iterator find(CompatibleKey const&, CompatibleHash const&,