From 7cdb05491d34937d353ed96e320730c53ed72a8c Mon Sep 17 00:00:00 2001 From: aurianer Date: Mon, 8 May 2023 13:34:42 +0200 Subject: [PATCH 01/13] Add decayed pack to the pack utilities --- libs/pika/type_support/include/pika/type_support/pack.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/pika/type_support/include/pika/type_support/pack.hpp b/libs/pika/type_support/include/pika/type_support/pack.hpp index 17c31af3f7..b331997256 100644 --- a/libs/pika/type_support/include/pika/type_support/pack.hpp +++ b/libs/pika/type_support/include/pika/type_support/pack.hpp @@ -39,6 +39,9 @@ namespace pika::util::detail { { }; + template + using decayed_pack = pack...>; + #define PIKA_MAKE_INDEX_PACK_INTEGER_PACK \ template \ struct make_index_pack : index_pack<__integer_pack(N)...> \ From e040c0ca80a7a38bad67092bdb39220719043306 Mon Sep 17 00:00:00 2001 From: aurianer Date: Mon, 8 May 2023 13:35:18 +0200 Subject: [PATCH 02/13] Decay and make unique the predecessor value types in sync_wait --- .../include/pika/execution/algorithms/sync_wait.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/pika/execution/include/pika/execution/algorithms/sync_wait.hpp b/libs/pika/execution/include/pika/execution/algorithms/sync_wait.hpp index 19ccce8a63..d08fdea578 100644 --- a/libs/pika/execution/include/pika/execution/algorithms/sync_wait.hpp +++ b/libs/pika/execution/include/pika/execution/algorithms/sync_wait.hpp @@ -59,8 +59,9 @@ namespace pika::sync_wait_detail { #if defined(PIKA_HAVE_STDEXEC) // value and error_types of the predecessor sender template