std::stop_token::swap

Exchanges the associated stop-state of *this and other.

# Declarations

void swap( std::stop_token& other ) noexcept;

(since C++20)

# Parameters

# Return value

(none)