[#bsl-unordered_multimap-0b0-insert-047]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_multimap-0b0.adoc[unordered&lowbar;multimap]::insert
:relfileprefix: ../../
:mrdocs:

Insert `value` and return an iterator to the new element&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/unordered_multimap-0b0/iterator.adoc[unordered&lowbar;multimap&lt;KEY, VALUE, HASH, EQUAL, ALLOCATOR&gt;::iterator]
insert(xref:bsl/unordered_multimap-0b0/value_type.adoc[value&lowbar;type] const& value);
----

== Description

Insert the specified `value` into this unordered multimap, and return an iterator referring to the newly inserted `value&lowbar;type` object&period; This method requires that the (template parameter) types `KEY` and `VALUE` both be `copy&hyphen;insertable` into this unordered multimap (see &lcub;Requirements on `KEY` and `VALUE`&rcub;)&period;

== Return Value

iterator referring to the newly inserted element

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| element to insert
|===


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