[#BloombergLP-bdlc-FlatHashTable-find-082]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable]::find
:relfileprefix: ../../../
:mrdocs:

`find` overloads

== Synopses

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

Return an iterator to the entry with the specified `key`, or `end()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlc/FlatHashTable/iterator.adoc[FlatHashTable&lt;KEY, ENTRY, ENTRY&lowbar;UTIL, HASH, EQUAL&gt;::iterator]
xref:BloombergLP/bdlc/FlatHashTable/find-04.adoc[find](KEY const& key);
----

[.small]#xref:BloombergLP/bdlc/FlatHashTable/find-04.adoc[_» more&period;&period;&period;_]#

Return an iterator representing the position of the entry in this flat hash table having the specified `key`, or `end()` if no such entry exists in this table&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlc/FlatHashTable/const_iterator.adoc[FlatHashTable&lt;KEY, ENTRY, ENTRY&lowbar;UTIL, HASH, EQUAL&gt;::const&lowbar;iterator]
xref:BloombergLP/bdlc/FlatHashTable/find-01.adoc[find](KEY const& key) const;
----

[.small]#xref:BloombergLP/bdlc/FlatHashTable/find-01.adoc[_» more&period;&period;&period;_]#

Return an iterator to the entry equivalent to `key`, or `end()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
xref:BloombergLP/bdlc/FlatHashTable/iterator.adoc[iterator]
xref:BloombergLP/bdlc/FlatHashTable/find-0a.adoc[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;
----

[.small]#xref:BloombergLP/bdlc/FlatHashTable/find-0a.adoc[_» more&period;&period;&period;_]#

Return an iterator to the entry equivalent to `key`, or `end()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
xref:BloombergLP/bdlc/FlatHashTable/const_iterator.adoc[const&lowbar;iterator]
xref:BloombergLP/bdlc/FlatHashTable/find-085.adoc[find](LOOKUP&lowbar;KEY const& key) const
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;
----

[.small]#xref:BloombergLP/bdlc/FlatHashTable/find-085.adoc[_» more&period;&period;&period;_]#

== Return Value

iterator to the matching entry, or `end()` if none

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| key to look up
|===


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