[#bsl-unordered_multiset-06c-emplace]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_multiset-06c.adoc[unordered&lowbar;multiset]::emplace
:relfileprefix: ../../
:mrdocs:

Insert into this unordered multiset a newly created `value&lowbar;type` object, constructed by forwarding `get&lowbar;allocator()` (if required) and the specified (variable number of) `args` to the corresponding constructor of `value&lowbar;type`&period; Return an iterator referring to the newly created and inserted object in this unordered multiset whose value is equivalent to that of an object constructed from `args`&period; This method requires that the (template parameter) type `KEY` be `emplace&hyphen;constructible` into this unordered multiset from `args` (see &lcub;Requirements on `KEY`&rcub;)&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;unorderedmultiset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class&period;&period;&period; Args&gt;
xref:bsl/unordered_multiset-06c/iterator.adoc[unordered&lowbar;multiset&lt;KEY, HASH, EQUAL, ALLOCATOR&gt;::iterator]
emplace(Args&&&period;&period;&period; args);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
