[#BloombergLP-bslstl-HashTable-06-find-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable-06.adoc[HashTable]::find
:relfileprefix: ../../../
:mrdocs:

Return the address of a link whose key is equivalent to the specified `key` (according to this hash&hyphen;table&apos;s `comparator`), and a null pointer value if no such link exists&period; If this hash&hyphen;table contains more than one element having the supplied `key`, return the first such element (from the contiguous sequence of elements having the same key)&period; The behavior is undefined unless `key` is equivalent to the elements of at most one equivalent&hyphen;key group&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;hashtable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
xref:BloombergLP/bslalg/BidirectionalLink.adoc[bslalg::BidirectionalLink]*
find(LOOKUP&lowbar;KEY const& key) const
requires BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;HASHER,    LOOKUP&lowbar;KEY&gt;&colon;&colon;value
   &amp;&amp; BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;COMPARATOR,LOOKUP&lowbar;KEY&gt;&colon;&colon;value;
----


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