std::stop_token::stop_token

Constructs a new stop_token object.

# Declarations

stop_token() noexcept;

(since C++20)

stop_token( const stop_token& other ) noexcept;

(since C++20)

stop_token( stop_token&& other ) noexcept;

(since C++20)

# Parameters