bsl::stop_token::stop_token

Constructors

Synopses

Declared in <bslstl_stoptoken.h>

Create a stop_token object that does not refer to a stop state.

stop_token() noexcept;
» more...

Create a stop_token object that refers to the same stop state (or lack thereof) as the specified original object.

stop_token(stop_token const& original) noexcept;
» more...

Create a stop_token object that refers to the same stop state (or lack) thereof as the specified original object, and reset original to not refer to a stop state.

stop_token(BloombergLP::bslmf::MovableRef<stop_token> original) noexcept;
» more...