|
|
Member functions | ||||
stop_source::stop_source | ||||
Modifiers | ||||
Observers | ||||
Non-member functions | ||||
Helper tags | ||||
stop_source(); | (1) | (since C++20) |
explicit stop_source(std::nostopstate_t nss)noexcept; | (2) | (since C++20) |
stop_source(const stop_source& other)noexcept; | (3) | (since C++20) |
stop_source( stop_source&& other)noexcept; | (4) | (since C++20) |
Constructs a newstop_source
object.
stop_source
with new stop-state.stop_source
with no associated stop-state.stop_source
whose associated stop-state is the same as that ofother.stop_source
whose associated stop-state is the same as that ofother;other is left empty.nss | - | anstd::nostopstate_t placeholder object to construct an emptystop_source |
other | - | anotherstop_source object to construct thisstop_source object with |