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

Insert into this set an element having the value of each object in the specified `values` initializer list if an equivalent value is not already contained in this set&period; This method requires that the (template parameter) type `KEY` be copy&hyphen;insertable (see &lcub;Requirements on `KEY`, `HASH`, and `EQUAL`&rcub;)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
insert(bsl::initializer&lowbar;list&lt;KEY&gt; values);
----


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