thread::swap方法

交换与的对象状态指定的 thread 对象。

void swap(
   thread& Other
) _NOEXCEPT;

参数

  • Other
    thread 对象。

要求

**标头:**线程

**命名空间:**std

请参见

参考

thread Class

<thread>