[#bsl-stop_source-operator_assign-00]
= xref:bsl.adoc[bsl]::xref:bsl/stop_source.adoc[stop&lowbar;source]::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 as `other`&period;


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

[.small]#xref:bsl/stop_source/operator_assign-0e.adoc[_» more&period;&period;&period;_]#

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


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

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

== Return Value

reference providing modifiable access to this object

== Parameters

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


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