bsl::stop_source::operator=

Assignment operators

Synopses

Declared in <bslstl_stoptoken.h>

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

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

Move-assign from other, then reset other.

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

Return Value

reference providing modifiable access to this object

Parameters

NameDescription
othersource whose stop state is copied