inserts a new element constructed from key and t if the key does not already exist
Declared in <nlohmann/ordered_map.hpp>
std::pair<iterator, bool>
emplace(
key_type const& key,
T&& t);
pair of an iterator to the (possibly pre-existing) element and a bool that is true if the insertion took place
| Name | Description |
|---|---|
| key [in] | key of the element to insert |
| t [in] | value of the element to insert |