Insert each element from the specified initializer list.
Synopsis
Declared in <bdlc_flathashset.h>
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
Name |
Description |
values |
initializer list of elements to insert |
Created with MrDocs