bsl::set::operator=

Assign to this object the value resulting from first clearing this set and then inserting each value_type object in the specified values initializer list, ignoring those keys 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}).

Synopsis

Declared in <bslstl_set.h>

set<KEY, COMPARATOR, ALLOCATOR>&
operator=(std::initializer_list<KEY> values);