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

Insert each element in the iterator range `&lsqb;first, last)&rsqb;`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INPUT&lowbar;ITERATOR&gt;
void
insert(
    INPUT&lowbar;ITERATOR first,
    INPUT&lowbar;ITERATOR last);
----

== Description

Insert into this unordered multiset the value of each `value&lowbar;type` object in the range starting at the specified `first` iterator and ending immediately before the specified `last` iterator&period; The (template parameter) type `INPUT&lowbar;ITERATOR` shall meet the requirements of an input iterator defined in the C&plus;&plus;11 standard &lsqb;24&period;2&period;3&rsqb;providing access to values of a type convertible to `value&lowbar;type`, and `value&lowbar;type` must be `emplace&hyphen;constructible` from `&ast;i` into this unordered multiset, where `i` is a dereferenceable iterator in the range `&lsqb;first &period;&period; last)&rsqb;` (see &lcub;Requirements on `KEY`&rcub;)&period; The behavior is undefined unless `first` and `last` refer to a sequence of valid values where `first` is at a position at or before `last`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *first*
| beginning of the range of values to insert
| *last*
| end of the range of values to insert (one past last)
|===


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