Constructors

Synopses

Declared in <bslstl_stoptoken.h>

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

stop_token() noexcept;

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;

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.

Created with MrDocs