Map lookup helper.
Synopsis
Declared in <common/settings.h>
template<
typename Map,
typename Key>
decltype(&map.at(key))
FindKey(
Map&& map,
Key&& key);
Return Value
Pointer to the mapped value, or nullptr if the key is absent.
Parameters
Name |
Description |
map |
The map to search. |
key |
The key to look up. |
Created with MrDocs