Skip to content

Commit 88f9ade

Browse files
committed
rewrote error transformation in when_all
1 parent 7f6f034 commit 88f9ade

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

include/beman/execution26/detail/when_all.hpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,12 @@ struct completion_signatures_for_impl<
232232
::beman::execution26::detail::basic_sender<::beman::execution26::detail::when_all_t, Data, Sender...>,
233233
Env> {
234234
template <typename... E>
235-
using error_comps = ::beman::execution26::completion_signatures<::beman::execution26::set_error_t(E)...>;
235+
struct error_comps_t {
236+
using type = ::beman::execution26::completion_signatures<::beman::execution26::set_error_t(E)...>;
237+
};
238+
template <typename... E>
239+
using error_comps = typename error_comps_t<E...>::type;
240+
236241
using value_types =
237242
typename ::beman::execution26::detail::when_all_value_types<::beman::execution26::detail::meta::combine<
238243
::beman::execution26::

0 commit comments

Comments
 (0)