std::stop_token::operator=

Replaces the associated stop-state with that of other.

# Declarations

std::stop_token& operator=( const std::stop_token& other ) noexcept;

(since C++20)

std::stop_token& operator=( std::stop_token&& other ) noexcept;

(since C++20)

# Parameters