[#bsl-unordered_map-02b-operator_assign-08]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assignment operators

== Synopses

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

Copy&hyphen;assign from `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map]&
xref:bsl/unordered_map-02b/operator_assign-02.adoc[operator&equals;](xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map] const& rhs);
----

[.small]#xref:bsl/unordered_map-02b/operator_assign-02.adoc[_» more&period;&period;&period;_]#

Move&hyphen;assign to this unordered map from `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map]&
xref:bsl/unordered_map-02b/operator_assign-04.adoc[operator&equals;](xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;unordered&lowbar;map&gt;] rhs) noexcept(&sol;&ast; see-below &ast;&sol;);
----

[.small]#xref:bsl/unordered_map-02b/operator_assign-04.adoc[_» more&period;&period;&period;_]#

Assign to this unordered map the contents of initializer list `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map]&
xref:bsl/unordered_map-02b/operator_assign-00.adoc[operator&equals;](std::initializer&lowbar;list&lt;value&lowbar;type&gt; rhs);
----

[.small]#xref:bsl/unordered_map-02b/operator_assign-00.adoc[_» more&period;&period;&period;_]#

== Return Value

* a reference providing modifiable access to this object
* reference providing modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| unordered map to copy from
|===


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