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

Set this object to refer to the same stop state as `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:bsl/stop_token.adoc[stop&lowbar;token] const& other) noexcept;
----

== Return Value

reference providing modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| token whose stop state is copied
|===


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