std::stop_token::swap
来自 cppreference.cn
< cpp | thread | stop token
void swap( std::stop_token& other ) noexcept; |
(自 C++20 起) | |
交换 *this 和 other 的关联停止状态。
[编辑] 参数
other | - | 用于交换内容的 stop_token |
[编辑] 返回值
(无)