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 that refers to the same stop state as original.

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

Create a stop_token by moving from original.

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

Parameters

NameDescription
originalsource token used to initialize this object