[#bsl-set-0d-operator_assign-0d] = xref:bsl.adoc[bsl]::xref:bsl/set-0d.adoc[set]::operator= :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/set-0d.adoc[set<KEY, COMPARATOR, ALLOCATOR>]& operator=(std::initializer_list<KEY> values); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#