bsl::stop_token::operator=

Assignment operators

Synopses

Declared in <bslstl_stoptoken.h>

Set this object to refer to the same stop state (or lack thereof) as the specified other object.

stop_token&
operator=(stop_token const& other) noexcept;
» more...

Set this object to refer to the stop state (or lack thereof) that the specified other object refers to, and reset other to not refer to a stop state.

stop_token&
operator=(BloombergLP::bslmf::MovableRef<stop_token> other) noexcept;
» more...