swap(std::stop_source)

Overloads the std::swap algorithm for std::stop_source. Exchanges the stop-state of lhs with that of rhs. Effectively calls lhs.swap(rhs).

# Declarations

friend void swap( stop_source& lhs, stop_source& rhs ) noexcept;

(since C++20)

# Parameters

# Return value

(none)