[#BloombergLP-bdlc-FlatHashMap-find-0b4]
= 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"]
----
xref:BloombergLP/bdlc/FlatHashMap/const_iterator.adoc[FlatHashMap&lt;KEY, VALUE, HASH, EQUAL&gt;::const&lowbar;iterator]
find(KEY const& key) const;
----

== Description

Return a `const&lowbar;iterator` referring to the element in this map having 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*
| key to look up
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
