nlohmann::ordered_map::find

finds an element with the given key

Synopsis

Declared in <nlohmann/ordered_map.hpp>

iterator
find(key_type const& key);

Return Value

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

Parameters

NameDescription
key [in]key to search for