[#bsl-unordered_set-0d2d-operator_assign-0f]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered&lowbar;set]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assign to this object the value resulting from first clearing this unordered set and then inserting each `value&lowbar;type` object in the specified `values` initializer list, ignoring those keys having a value equivalent to that which appears earlier in the list&semi; return a reference providing modifiable access to this object&period; This method requires that the (template parameter) type `KEY` type be `copy&hyphen;insertable` into this set (see &lcub;Requirements on `KEY`&rcub;)&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;unorderedset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/unordered_set-0d2d.adoc[unordered&lowbar;set&lt;KEY, HASH, EQUAL, ALLOCATOR&gt;]&
operator&equals;(std::initializer&lowbar;list&lt;KEY&gt; values);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
