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

`insert` overloads

== Synopses

Declared in `&lt;bdlc&lowbar;flathashtable&period;h&gt;`

Same as the preceding overload, moving from the specified `entry`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/pair-0b.adoc[bsl::pair&lt;FlatHashTable&lt;KEY, ENTRY, ENTRY&lowbar;UTIL, HASH, EQUAL&gt;::iterator, bool&gt;]
xref:BloombergLP/bdlc/FlatHashTable/insert-00.adoc[insert](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;ENTRY&gt;] entry);
----

[.small]#xref:BloombergLP/bdlc/FlatHashTable/insert-00.adoc[_» more&period;&period;&period;_]#

Insert the specified `entry` if its key is not already present&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/pair-0b.adoc[bsl::pair&lt;FlatHashTable&lt;KEY, ENTRY, ENTRY&lowbar;UTIL, HASH, EQUAL&gt;::iterator, bool&gt;]
xref:BloombergLP/bdlc/FlatHashTable/insert-08.adoc[insert](ENTRY const& entry);
----

[.small]#xref:BloombergLP/bdlc/FlatHashTable/insert-08.adoc[_» more&period;&period;&period;_]#

Insert converted copies of the objects in the `&lsqb;first, last)&rsqb;` range&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INPUT&lowbar;ITERATOR&gt;
void
xref:BloombergLP/bdlc/FlatHashTable/insert-06.adoc[insert](
    INPUT&lowbar;ITERATOR first,
    INPUT&lowbar;ITERATOR last);
----

[.small]#xref:BloombergLP/bdlc/FlatHashTable/insert-06.adoc[_» more&period;&period;&period;_]#

== Return Value

pair of iterator to the entry and whether insertion occurred

== Parameters

[cols="1,4"]
|===
| Name| Description
| *entry*
| entry to move&hyphen;insert if its key is absent
| *first*
| beginning of the range to insert
| *last*
| end of the range to insert
|===


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