[#bsl-map-0a7-operator_assign-02]
= xref:bsl.adoc[bsl]::xref:bsl/map-0a7.adoc[map]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assign to this object the value resulting from first clearing this map and then inserting each `value&lowbar;type` object in the specified `values` initializer list, ignoring those objects having a key 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) types `KEY` and `VALUE` both be `copy&hyphen;insertable` into this map (see &lcub;Requirements on `KEY` and `VALUE`&rcub;)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/map-0a7.adoc[map&lt;KEY, VALUE, COMPARATOR, ALLOCATOR&gt;]&
operator&equals;(std::initializer&lowbar;list&lt;value&lowbar;type&gt; values);
----


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