[#bsl-stop_source-operator_assign-00] = xref:bsl.adoc[bsl]::xref:bsl/stop_source.adoc[stop_source]::operator= :relfileprefix: ../../ :mrdocs: Assignment operators == Synopses Declared in `<bslstl_stoptoken.h>` Set this object to refer to the same stop state as `other`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/stop_source.adoc[stop_source]& xref:bsl/stop_source/operator_assign-0e.adoc[operator=](xref:bsl/stop_source.adoc[stop_source] const& other) noexcept; ---- [.small]#xref:bsl/stop_source/operator_assign-0e.adoc[_» more..._]# Move‐assign from `other`, then reset `other`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/stop_source.adoc[stop_source]& xref:bsl/stop_source/operator_assign-07.adoc[operator=](xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<stop_source>] other) noexcept; ---- [.small]#xref:bsl/stop_source/operator_assign-07.adoc[_» more..._]# == 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]#