[#BloombergLP-bdlc-FlatHashMap-find-07] = 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`. == Synopsis Declared in `<bdlc_flathashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:BloombergLP/bdlc/FlatHashMap/const_iterator.adoc[const_iterator] find(LOOKUP_KEY const& key) const requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value; ---- == Description Return a `const_iterator` referring to the element in this map having the specified `key`, or `end()` if no such entry exists in this map. == Return Value iterator to the matching element, or `end()` if none == Parameters [cols="1,4"] |=== | Name| Description | *key* | transparent key to look up |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#