[#BloombergLP-bdlc-FlatHashMap-find-0a]
= 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`&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;flathashmap&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
xref:BloombergLP/bdlc/FlatHashMap/iterator.adoc[iterator]
find(LOOKUP&lowbar;KEY const& key)
requires BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;HASH, LOOKUP&lowbar;KEY&gt;&colon;&colon;value
         &amp;&amp; BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;EQUAL,LOOKUP&lowbar;KEY&gt;&colon;&colon;value;
----

== Description

Return an `iterator` referring to the modifiable element in this map having the key equivalent to the specified `key`, or `end()` if no such entry exists in this map&period;

== 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]#
