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

Insert a `value&lowbar;type` constructed from `value`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALT&lowbar;VALUE&lowbar;TYPE&gt;
xref:bsl/unordered_multimap-0b0/iterator.adoc[iterator]
insert(ALT&lowbar;VALUE&lowbar;TYPE&& value)
requires std&colon;&colon;is&lowbar;constructible&lt;value&lowbar;type,
                                             ALT&lowbar;VALUE&lowbar;TYPE&amp;&amp;&gt;&colon;&colon;value;
----

== Description

Insert into this unordered multimap a `value&lowbar;type` object created from the specified `value`, 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 `move&hyphen;insertable` into this unordered multimap (see &lcub;Requirements on `KEY` and `VALUE`&rcub;), and the `value&lowbar;type` be constructible from the (template parameter) `ALT&lowbar;VALUE&lowbar;TYPE`&period;

== Return Value

iterator referring to the newly inserted element

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| source used to construct the inserted element
|===


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