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

Insert the specified `value` into this unordered multimap (in constant time if the specified `hint` refers to an element in this container with a key equivalent to the key of `value`), and return an iterator referring to the newly inserted `value&lowbar;type` object&period; If `hint` does not refer to an element in this container with a key equivalent to the key of `value`, this operation has worst case `O&lsqb;N&rsqb;` and average case constant&hyphen;time complexity, where `N` is the size of this unordered multimap&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; The behavior is undefined unless `hint` is an iterator in the range `&lsqb;begin() &period;&period; end()&rsqb;` (both endpoints included)&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/const_iterator.adoc[const&lowbar;iterator] hint,
    xref:bsl/unordered_multimap-0b0/value_type.adoc[value&lowbar;type] const& value);
----


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