accesses the element with the given key, inserting a default-constructed value if it does not exist
Declared in <nlohmann/ordered_map.hpp>
template<class KeyType>
requires detail::is_usable_as_key_type<key_compare, key_type, KeyType>::value
T&
operator[](KeyType&& key);
reference to the value associated with key
| Name | Description |
|---|---|
| key [in] | key of the element to access |