[#BloombergLP-bdlc-FlatHashSet-insert-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet]::insert :relfileprefix: ../../../ :mrdocs: Insert each element from the specified initializer list. == Synopsis Declared in `<bdlc_flathashset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void insert(bsl::initializer_list<KEY> values); ---- == Description 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. This method requires that the (template parameter) type `KEY` be copy‐insertable (see {Requirements on `KEY`, `HASH`, and `EQUAL`}). == Parameters [cols="1,4"] |=== | Name| Description | *values* | initializer list of elements to insert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#