swap(std::stop_token)
Min standard notice:
Overloads the std::swap algorithm for std::stop_token. Exchanges the associated stop-state of lhs with that of rhs. Effectively calls lhs.swap(rhs).
# Declarations
friend void swap( stop_token& lhs, stop_token& rhs ) noexcept;
(since C++20)
# Parameters
lhs, rhs: stop_tokens to swap
# Return value
(none)