std::stop_token::swap
void swap( std::stop_token& other ) noexcept; | (начиная с C++20) |
Обменивает связанное состояние остановки *this и other.
Параметры
| other | - |
stop_token для обмена содержимым с текущим объектом |
Возвращаемое значение
(нет)
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/thread/stop_token/swap