[#nlohmann-ordered_map-operator_assign-05]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/ordered_map.adoc[ordered&lowbar;map]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assignment operators

== Synopses

Declared in `&lt;nlohmann&sol;ordered&lowbar;map&period;hpp&gt;`

copy assignment operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:nlohmann/ordered_map.adoc[ordered&lowbar;map]&
xref:nlohmann/ordered_map/operator_assign-0c.adoc[operator&equals;](xref:nlohmann/ordered_map.adoc[ordered&lowbar;map] const& other);
----

[.small]#xref:nlohmann/ordered_map/operator_assign-0c.adoc[_» more&period;&period;&period;_]#

move assignment operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:nlohmann/ordered_map.adoc[ordered&lowbar;map]&
xref:nlohmann/ordered_map/operator_assign-02.adoc[operator&equals;](xref:nlohmann/ordered_map.adoc[ordered&lowbar;map]&& other) noexcept(&sol;&ast; see-below &ast;&sol;);
----

[.small]#xref:nlohmann/ordered_map/operator_assign-02.adoc[_» more&period;&period;&period;_]#

== Return Value

reference to this ordered&lowbar;map

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other* [in]
| ordered&lowbar;map to copy from
|===


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