std::packaged_task<R(Args...)>::swap
< cpp | thread | packaged task
void swap( packaged_task& other ) noexcept;
|
(C++11 起) | |
交换 *this 与 other 的共享状态和存储的任务。
参数
other | - | 要交换状态的打包任务 |
返回值
(无)
参阅
(C++11)
|
特化 std::swap 算法 (函数模板) |
void swap( packaged_task& other ) noexcept;
|
(C++11 起) | |
交换 *this 与 other 的共享状态和存储的任务。
other | - | 要交换状态的打包任务 |
(无)
(C++11)
|
特化 std::swap 算法 (函数模板) |