[#bsl-stop_token-2constructor-06]
= xref:bsl.adoc[bsl]::xref:bsl/stop_token.adoc[stop&lowbar;token]::stop&lowbar;token
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bslstl&lowbar;stoptoken&period;h&gt;`

Create a `stop&lowbar;token` object that does not refer to a stop state&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/stop_token/2constructor-08.adoc[stop&lowbar;token]() noexcept;
----

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

Create a `stop&lowbar;token` that refers to the same stop state as `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/stop_token/2constructor-00.adoc[stop&lowbar;token](xref:bsl/stop_token.adoc[stop&lowbar;token] const& original) noexcept;
----

[.small]#xref:bsl/stop_token/2constructor-00.adoc[_» more&period;&period;&period;_]#

Create a `stop&lowbar;token` by moving from `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/stop_token/2constructor-09.adoc[stop&lowbar;token](xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;stop&lowbar;token&gt;] original) noexcept;
----

[.small]#xref:bsl/stop_token/2constructor-09.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| source token used to initialize this object
|===


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