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

Insert the specified `value` into this map if the key of `value` does not already exist in this map&semi; otherwise, this method has no effect&period; Return a `pair` whose `first` member is an iterator referring to the (possibly newly inserted) modifiable element in this map whose key is equivalent to that of the element to be inserted, and whose `second` member is `true` if a new element was inserted, and `false` if an element with an equivalent key was already present&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class VALUE&lowbar;TYPE&gt;
xref:bsl/pair-0b.adoc[bsl::pair&lt;iterator, bool&gt;]
insert(VALUE&lowbar;TYPE&& value)
requires bsl&colon;&colon;is&lowbar;constructible&lt;value&lowbar;type,
                                                  VALUE&lowbar;TYPE&amp;&amp;&gt;&colon;&colon;value;
----


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