bsl::stop_source::stop_source

Create a stop_source object that refers to the stop state (or lack thereof) referred to by the specified original, and reset original to not refer to a stop state.

Synopsis

Declared in <bslstl_stoptoken.h>

stop_source(BloombergLP::bslmf::MovableRef<stop_source> original) noexcept;