std::inplace_stop_token::swap
From cppreference.com
void swap( std::inplace_stop_token& other ) noexcept;
|
(since C++26) | |
Exchanges the associated stop-state of *this and other.
Equivalent to std::swap(this->/*stop_state_*/, other./*stop_state_*/);.
Parameters
| other | - | inplace_stop_token to exchange the contents with
|