[#bsl-unordered_set-0d2d-operator_assign-0f] = xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered_set]::operator= :relfileprefix: ../../ :mrdocs: Assign to this object the value resulting from first clearing this unordered 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` type be `copy‐insertable` into this set (see {Requirements on `KEY`}). == Synopsis Declared in `<bslstl_unorderedset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_set-0d2d.adoc[unordered_set<KEY, HASH, EQUAL, ALLOCATOR>]& operator=(std::initializer_list<KEY> values); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#