Exchange the stop states referred to by *this and other.
*this
other
Declared in <bslstl_stoptoken.h>
<bslstl_stoptoken.h>
void swap(stop_token& other) noexcept;
Equivalent to swap(*this, other).
swap(*this, other)