[#bsl-unordered_map-02b-find-0a] = xref:bsl.adoc[bsl]::xref:bsl/unordered_map-02b.adoc[unordered_map]::find :relfileprefix: ../../ :mrdocs: `find` overloads == Synopses Declared in `<bslstl_unorderedmap.h>` Return an iterator to the element with the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_map-02b/iterator.adoc[iterator] xref:bsl/unordered_map-02b/find-02.adoc[find](xref:bsl/unordered_map-02b/key_type.adoc[key_type] const& key); ---- [.small]#xref:bsl/unordered_map-02b/find-02.adoc[_» more..._]# Return a const iterator to the element with the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_map-02b/const_iterator.adoc[const_iterator] xref:bsl/unordered_map-02b/find-07.adoc[find](xref:bsl/unordered_map-02b/key_type.adoc[key_type] const& key) const; ---- [.small]#xref:bsl/unordered_map-02b/find-07.adoc[_» more..._]# Return an iterator to the element with an equivalent `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/unordered_map-02b/iterator.adoc[iterator] xref:bsl/unordered_map-02b/find-05.adoc[find](LOOKUP_KEY const& key) requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value; ---- [.small]#xref:bsl/unordered_map-02b/find-05.adoc[_» more..._]# Return a const iterator to the element with an equivalent `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/unordered_map-02b/const_iterator.adoc[const_iterator] xref:bsl/unordered_map-02b/find-0e.adoc[find](LOOKUP_KEY const& key) const requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value; ---- [.small]#xref:bsl/unordered_map-02b/find-0e.adoc[_» more..._]# == Return Value * iterator to the element, or `end()` if not found * const iterator to the element, or `end()` if not found == Parameters [cols="1,4"] |=== | Name| Description | *key* | key to look up |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#