[#bsl-stop_token-operator_assign-07] = xref:bsl.adoc[bsl]::xref:bsl/stop_token.adoc[stop_token]::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_token.adoc[stop_token]& xref:bsl/stop_token/operator_assign-06.adoc[operator=](xref:bsl/stop_token.adoc[stop_token] const& other) noexcept; ---- [.small]#xref:bsl/stop_token/operator_assign-06.adoc[_» more..._]# Move‐assign from `other`, then reset `other`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/stop_token.adoc[stop_token]& xref:bsl/stop_token/operator_assign-05.adoc[operator=](xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<stop_token>] other) noexcept; ---- [.small]#xref:bsl/stop_token/operator_assign-05.adoc[_» more..._]# == 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]#