namespace std::execution {
template<class Env>
struct env-promise : with-await-transform<env-promise<Env>> { // exposition only
unspecified get_return_object() noexcept;
unspecified initial_suspend() noexcept;
unspecified final_suspend() noexcept;
void unhandled_exception() noexcept;
void return_void() noexcept;
coroutine_handle<> unhandled_stopped() noexcept;
const Env& get_env() const noexcept;
};
}
概要
env-promise
は、実行制御ライブラリの仕様定義で用いられる説明専用のクラステンプレートである。
備考
env-promise
の特殊化は型導出のみで利用されるため、各メンバ関数の定義は必要ない。
バージョン
言語
- C++26