[#bsl-stop_token-operator_assign-07]
= xref:bsl.adoc[bsl]::xref:bsl/stop_token.adoc[stop&lowbar;token]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assignment operators

== Synopses

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

Set this object to refer to the same stop state (or lack thereof) as the specified `other` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/stop_token.adoc[stop&lowbar;token]&
xref:bsl/stop_token/operator_assign-06.adoc[operator&equals;](xref:bsl/stop_token.adoc[stop&lowbar;token] const& other) noexcept;
----

[.small]#xref:bsl/stop_token/operator_assign-06.adoc[_» more&period;&period;&period;_]#

Set this object to refer to the stop state (or lack thereof) that the specified `other` object refers to, and reset `other` to not refer to a stop state&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/stop_token.adoc[stop&lowbar;token]&
xref:bsl/stop_token/operator_assign-05.adoc[operator&equals;](xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;stop&lowbar;token&gt;] other) noexcept;
----

[.small]#xref:bsl/stop_token/operator_assign-05.adoc[_» more&period;&period;&period;_]#


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