swap(std::stop_source)
Min standard notice:
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
lhs, rhs: stop_sources to swap
# Return value
(none)