std::stop_source::swap
来自 cppreference.cn
< cpp | thread | stop source
void swap( std::stop_source& other ) noexcept; |
(since C++20) | |
交换 *this 和 other 的停止状态。
[编辑] 参数
other | - | 要与之交换内容的 stop_source |
[编辑] 返回值
(无)