[#nlohmann-ordered_map-insert-0d] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/ordered_map.adoc[ordered_map]::insert :relfileprefix: ../../ :mrdocs: inserts an element if the key does not already exist == Synopsis Declared in `<nlohmann/ordered_map.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::pair<iterator, bool> insert(xref:nlohmann/ordered_map/value_type.adoc[value_type] const& value); ---- == Return Value pair of an iterator to the (possibly pre‐existing) element and a bool that is true if the insertion took place == Parameters [cols="1,4"] |=== | Name| Description | *value* [in] | key‐value pair to insert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#