[#CSerializedNetMsg-operator_assign-04]
= xref:CSerializedNetMsg.adoc[CSerializedNetMsg]::operator&equals;
:relfileprefix: ../
:mrdocs:

Assignment operators

== Synopses

Declared in `&lt;net&period;h&gt;`

Deleted copy assignment&semi; copies must go through Copy()&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CSerializedNetMsg.adoc[CSerializedNetMsg]&
xref:CSerializedNetMsg/operator_assign-08.adoc[operator&equals;](xref:CSerializedNetMsg.adoc[CSerializedNetMsg] const& other) = delete;
----

[.small]#xref:CSerializedNetMsg/operator_assign-08.adoc[_» more&period;&period;&period;_]#

Move&hyphen;assign from another serialized message&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:CSerializedNetMsg.adoc[CSerializedNetMsg]&
xref:CSerializedNetMsg/operator_assign-0d.adoc[operator&equals;](xref:CSerializedNetMsg.adoc[CSerializedNetMsg]&& other) = default;
----

[.small]#xref:CSerializedNetMsg/operator_assign-0d.adoc[_» more&period;&period;&period;_]#

== Return Value

a reference to this message&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| the message that would be copied from&period;
|===


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