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