[#bsl-hashtable-find-04]
= xref:bsl.adoc[bsl]::xref:bsl/hashtable.adoc[hashtable]::find
:relfileprefix: ../../
:mrdocs:

Return a const iterator to the element with the specified key, or `end`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;KT&gt;
xref:bsl/hashtable/const_iterator.adoc[const&lowbar;iterator]
find(&lowbar;KT const& &lowbar;&lowbar;key) const;
----

== Return Value

const iterator to the matching element, or `end`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;key*
| key to search for
|===


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