bsl::stop_source::operator=

Move-assign from other, then reset other.

Synopsis

Declared in <bslstl_stoptoken.h>

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

Description

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.

Return Value

reference providing modifiable access to this object

Parameters

NameDescription
othersource that is moved from