[#Sock-operator_assign-0b]
= xref:Sock.adoc[Sock]::operator&equals;
:relfileprefix: ../
:mrdocs:

Move assignment operator, grab the socket from another object and close ours (if set)&period;

== Synopsis

Declared in `&lt;util&sol;sock&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
xref:Sock.adoc[Sock]&
operator&equals;(xref:Sock.adoc[Sock]&& other);
----

== Return Value

Reference to this object&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The socket wrapper to move the underlying socket from&period;
|===


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