[#bsl-multimap-0ae-insert-04c]
= xref:bsl.adoc[bsl]::xref:bsl/multimap-0ae.adoc[multimap]::insert
:relfileprefix: ../../
:mrdocs:

Insert into this multimap a `value&lowbar;type` object created from the specified `value`&period; If a range containing elements equivalent to `value&lowbar;type` object already exists, insert the `value&lowbar;type` object at the end of that range&period; 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 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;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALT&lowbar;VALUE&lowbar;TYPE&gt;
xref:bsl/multimap-0ae/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;
----


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