finds an element with the given key
Declared in <nlohmann/ordered_map.hpp>
template<class KeyType>
requires detail::is_usable_as_key_type<key_compare, key_type, KeyType>::value
const_iterator
find(KeyType&& key) const;
const iterator to the element if found, or end() otherwise
| Name | Description |
|---|---|
| key [in] | key to search for |