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