template<class Sndr>
constexpr auto get-domain-early(const Sndr& sndr) noexcept;
概要
Senderアルゴリズム構築時のカスタマイゼーションポイントとして、実行ドメインを取得する説明専用の関数テンプレート。
下記の優先順で実行ドメインを検索し、最初に適格となる型を採用する。
- Senderの属性の実行ドメイン
- Senderの完了Schedulerの実行ドメイン
- デフォルト実行ドメイン
効果
説明用の型Domainを下記リストのうち最初に適格となる式の型と定義したとき、return Domain();と等価。
get_domain(get_env(sndr))completion-domain(sndr)default_domain()
例外
投げない
バージョン
言語
- C++26
関連項目
execution::continues_onexecution::thenexecution::let_valueexecution::bulkexecution::when_allexecution::into_variantexecution::stopped_as_optionalexecution::stopped_as_errorexecution::associateexecution::affine_onthis_thread::sync_waitthis_thread::sync_wait_with_variant