Share via


thread::swap のメソッド

thread の指定したオブジェクトの状態オブジェクトを交換します。

void swap(
   thread& Other
) _NOEXCEPT;

パラメーター

  • Other
    thread オブジェクト。

必要条件

ヘッダー: のスレッド

名前空間: std

参照

関連項目

thread クラス

<thread>