nlohmann::ordered_map::find

finds an element with the given key

Synopsis

Declared in <nlohmann/ordered_map.hpp>

const_iterator
find(key_type const& key) const;

Return Value

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

Parameters

NameDescription
key [in]key to search for