[#nlohmann-ordered_map-find-0a]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/ordered_map.adoc[ordered&lowbar;map]::find
:relfileprefix: ../../
:mrdocs:

finds an element with the given key

== Synopsis

Declared in `&lt;nlohmann&sol;ordered&lowbar;map&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:nlohmann/ordered_map/iterator.adoc[iterator]
find(xref:nlohmann/ordered_map/key_type.adoc[key&lowbar;type] const& key);
----

== Return Value

iterator to the element if found, or end() otherwise

== Parameters

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


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