[#BloombergLP-bdlc-FlatHashMap-find-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap]::find :relfileprefix: ../../../ :mrdocs: Return an iterator to the element with the specified `key`. == Synopses Declared in `<bdlc_flathashmap.h>` Return an iterator to the element with the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlc/FlatHashMap/iterator.adoc[FlatHashMap<KEY, VALUE, HASH, EQUAL>::iterator] xref:BloombergLP/bdlc/FlatHashMap/find-0b2.adoc[find](KEY const& key); ---- [.small]#xref:BloombergLP/bdlc/FlatHashMap/find-0b2.adoc[_» more..._]# Return an iterator to the element with the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlc/FlatHashMap/const_iterator.adoc[FlatHashMap<KEY, VALUE, HASH, EQUAL>::const_iterator] xref:BloombergLP/bdlc/FlatHashMap/find-0b4.adoc[find](KEY const& key) const; ---- [.small]#xref:BloombergLP/bdlc/FlatHashMap/find-0b4.adoc[_» more..._]# Return an iterator to the element with the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:BloombergLP/bdlc/FlatHashMap/iterator.adoc[iterator] xref:BloombergLP/bdlc/FlatHashMap/find-0a.adoc[find](LOOKUP_KEY const& key) requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value; ---- [.small]#xref:BloombergLP/bdlc/FlatHashMap/find-0a.adoc[_» more..._]# Return an iterator to the element with the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:BloombergLP/bdlc/FlatHashMap/const_iterator.adoc[const_iterator] xref:BloombergLP/bdlc/FlatHashMap/find-07.adoc[find](LOOKUP_KEY const& key) const requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value; ---- [.small]#xref:BloombergLP/bdlc/FlatHashMap/find-07.adoc[_» more..._]# == Return Value iterator to the matching element, or `end()` if none == Parameters [cols="1,4"] |=== | Name| Description | *key* | key to look up |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#