bsl::stop_token::stop_token

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

Synopsis

Declared in <bslstl_stoptoken.h>

stop_token(stop_token const& original) noexcept;