最終更新日時(UTC):
が更新

履歴 編集

function
<execution>

std::execution::counting_scope::disassociate(C++26)

void disassociate() noexcept; // exposition only

概要

非同期スコープとの関連付けを解除する、説明専用のメンバ関数。 非同期トークン型tokendisassociateメンバ動作を定義する。

事前条件

説明用のメンバ変数count0より大きい。

効果

countをデクリメントする。 デクリメント後のcount == 0、かつ説明用のメンバ変数stateopen-and-joiningまたはclosed-and-joiningのとき、statejoinedに変更し、*thisに登録された全てのオブジェクトでcomplete()を呼び出す。

例外

投げない

バージョン

言語

  • C++26

参照