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

Assignment operators

== Synopses

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

Deleted copy assignment&semi; the pipe is move&hyphen;only&period;


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

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

Move&hyphen;assigns a pipe, closing this one and taking the other&apos;s descriptors&period;


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

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

== Return Value

a reference to this pipe

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| the pipe that would be copied
|===


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