[#common-FindKey]
= xref:common.adoc[common]::FindKey
:relfileprefix: ../
:mrdocs:

Map lookup helper&period;

== Synopsis

Declared in `&lt;common&sol;settings&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Map,
    typename Key&gt;
decltype(&amp;map&period;at(key))
FindKey(
    Map&& map,
    Key&& key);
----

== Return Value

Pointer to the mapped value, or nullptr if the key is absent&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *map*
| The map to search&period;
| *key*
| The key to look up&period;
|===


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