最終更新日時(UTC):
が更新

履歴 編集

class template
<execution>

std::execution::env-promise(C++26)

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

関連項目

参照