Set *this to refer to the stop state (or lack thereof) that the specified other referred to, and vice versa. Equivalent to swap(*this, other).
Synopsis
Declared in <bslstl_stoptoken.h>
void
swap(stop_token& other) noexcept;
Created with MrDocs