Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 2.35 KB

File metadata and controls

66 lines (47 loc) · 2.35 KB

counting_scope

  • execution[meta header]
  • class[meta id-type]
  • std::execution[meta namespace]
  • cpp26[meta cpp]
namespace std::execution {
  class counting_scope;
}

概要

counting_scopeは、停止要求を作成可能なカウント式の非同期スコープを表現する。

クラス動作説明用のメンバ変数として下記を保持する。詳細仕様はsimple_counting_scopeを参照。

  • count : size_t型の関連付けカウント値
  • state : scope-state-type列挙型(後述)の状態
  • s_source : inplace_stop_source型の停止要求管理オブジェクト

メンバ関数

名前 説明 対応バージョン
(constructor) コンストラクタ C++26
(destructor) デストラクタ C++26
get_token 非同期スコープトークンを取得 C++26
close 非同期スコープを閉じる C++26
join 非同期スコープを合流するSender取得 C++26
request_stop 停止要求を作成する C++26

メンバ型

名前 説明 対応バージョン
assoc-t association-t<counting_scope>(説明専用) C++26
token 非同期スコープトークン型 C++26

静的メンバ変数

名前 説明 対応バージョン
constexpr size_t max_associations = implementation-defined; 関連付けの最大数 C++26

バージョン

言語

  • C++26

処理系

関連項目

参照