[#TokenPipeEnd-2constructor-09]
= xref:TokenPipeEnd.adoc[TokenPipeEnd]::TokenPipeEnd
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Deleted copy constructor&semi; the endpoint is move&hyphen;only&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:TokenPipeEnd/2constructor-01.adoc[TokenPipeEnd](xref:TokenPipeEnd.adoc[TokenPipeEnd] const& other) = delete;
----

[.small]#xref:TokenPipeEnd/2constructor-01.adoc[_» more&period;&period;&period;_]#

Move&hyphen;constructs an endpoint, taking ownership of the other&apos;s descriptor&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:TokenPipeEnd/2constructor-08.adoc[TokenPipeEnd](xref:TokenPipeEnd.adoc[TokenPipeEnd]&& other);
----

[.small]#xref:TokenPipeEnd/2constructor-08.adoc[_» more&period;&period;&period;_]#

Wraps a file descriptor as one end of a token pipe&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:TokenPipeEnd/2constructor-0d.adoc[TokenPipeEnd](int fd = &hyphen;1);
----

[.small]#xref:TokenPipeEnd/2constructor-0d.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| the endpoint that would be copied
| *fd*
| the file descriptor to adopt, or &hyphen;1 for a closed end
|===


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