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

Move&hyphen;assign from `other`, then reset `other`&period;

== Synopsis

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

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

== Description

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;

== Return Value

reference providing modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| token that is moved from
|===


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