bsl::stop_token::stop_token

Create a stop_token that refers to the same stop state as original.

Synopsis

Declared in <bslstl_stoptoken.h>

stop_token(stop_token const& original) noexcept;

Parameters

NameDescription
originalsource token used to initialize this object