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 |
メンバ型
| 名前 | 説明 | 対応バージョン |
|---|---|---|
token |
非同期スコープトークン型 | C++26 |
静的メンバ変数
| 名前 | 説明 | 対応バージョン |
|---|---|---|
constexpr size_t max_associations = implementation-defined; |
関連付けの最大数 | C++26 |
バージョン
言語
- C++26
処理系
- Clang: ??
- GCC: ??
- ICC: ??
- Visual C++: ??