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-exceptionはexceptionから派生した型となる。
バージョン
言語
- C++26
処理系
- Clang: ??
- GCC: ??
- ICC: ??
- Visual C++: ??