Assign to this object from the specified initializer list.
Declared in <bdlc_flathashset.h>
FlatHashSet<KEY, HASH, EQUAL>&
operator=(bsl::initializer_list<KEY> values);
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}).
modifiable reference to this set
| Name | Description |
|---|---|
| values | initializer list of elements to assign |