Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 922 Bytes

File metadata and controls

36 lines (24 loc) · 922 Bytes

disassociate

  • execution[meta header]
  • std::execution[meta namespace]
  • counting_scope[meta class]
  • function[meta id-type]
  • cpp26[meta cpp]
  • [meta exposition-only]
void disassociate() noexcept;

概要

非同期スコープとの関連付けを解除する、説明専用のメンバ関数。

事前条件

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

効果

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

例外

投げない

バージョン

言語

  • C++26

参照