[#bsl-map-0a7-emplace] = xref:bsl.adoc[bsl]::xref:bsl/map-0a7.adoc[map]::emplace :relfileprefix: ../../ :mrdocs: Insert into this map a newly‐created `value_type` object, constructed by forwarding `get_allocator()` (if required) and the specified (variable number of) `args` to the corresponding constructor of `value_type`, if a key equivalent to such a value does not already exist in this map; otherwise, this method has no effect (other than possibly creating a temporary `value_type` object). Return a pair whose `first` member is an iterator referring to the (possibly newly created and inserted) object in this map whose key is equivalent to that of an object constructed from `args`, and whose `second` member is `true` if a new value was inserted, and `false` if an equivalent key was already present. This method requires that the (template parameter) types `KEY` and `VALUE` both be `emplace‐constructible` from `args` (see {Requirements on `KEY` and `VALUE`}). == Synopsis Declared in `<bslstl_map.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class... Args> xref:bsl/pair-0b.adoc[pair<map<KEY, VALUE, COMPARATOR, ALLOCATOR>::iterator, bool>] emplace(Args&&... args); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#