bsl::stop_token::operator=

Set this object to refer to the same stop state as other.

Synopsis

Declared in <bslstl_stoptoken.h>

stop_token&
operator=(stop_token const& other) noexcept;

Return Value

reference providing modifiable access to this object

Parameters

NameDescription
othertoken whose stop state is copied