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

履歴 編集

function template
<execution>

std::execution::decay-copyable-result-datums(C++26)

constexpr void decay-copyable-result-datums(auto cs) {
  cs.for-each([]<class Tag, class... Ts>(Tag(*)(Ts...)) {
    if constexpr (!(is_constructible_v<decay_t<Ts>, Ts> &&...))
      throw unspecified-exception();
  });
}

概要

decay-copyable-result-datumsは、Senderアルゴリズム動作仕様定義で用いられる説明専用の関数テンプレートである。

unspecified-exceptionexceptionから派生した型となる。

バージョン

言語

  • C++26

処理系

関連項目

参照