[#BloombergLP-bdlc-FlatHashMap-insert-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap]::insert
:relfileprefix: ../../../
:mrdocs:

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

== Synopsis

Declared in `&lt;bdlc&lowbar;flathashmap&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 map the value of each element in the input iterator range specified by `first` through `last` (including `first`, excluding `last`)&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; Note that if the key of a member of the input sequence is equivalent to the key of an earlier member, the later member will not be inserted&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *first*
| beginning of the input range
| *last*
| end of the input range (exclusive)
|===


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