[#BloombergLP-bdlc-FlatHashSet-insert-06a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet]::insert
:relfileprefix: ../../../
:mrdocs:

Insert the specified `value` into this set if the `value` does not already exist in this set&semi; otherwise, this method has no effect&period; Return a `const&lowbar;iterator` referring to the (possibly newly inserted) element in this set whose value is equivalent to that of the element to be inserted&period; The supplied `const&lowbar;iterator` is ignored&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlc/FlatHashSet/const_iterator.adoc[const&lowbar;iterator]
insert(
    xref:BloombergLP/bdlc/FlatHashSet/const_iterator.adoc[const&lowbar;iterator],
    xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;KEY&gt;] value);
----


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