Assign to this object from the specified initializer list.
Synopsis
Declared in <bdlc_flathashset.h>
FlatHashSet<KEY, HASH, EQUAL>&
operator=(bsl::initializer_list<KEY> values);
Description
Assign to this object the value resulting from first clearing this set and then inserting each object in the specified values initializer list, ignoring those objects having a value equivalent to that which appears earlier in the list; return a reference providing modifiable access to this object. This method requires that the (template parameter) type KEY be copy‐insertable into this set (see {Requirements on KEY, HASH, and EQUAL}).
Return Value
modifiable reference to this set
Parameters
Name |
Description |
values |
initializer list of elements to assign |
Created with MrDocs