From a067a54d92388c737205032f5520d6da3dc2f0ac Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Sun, 23 Jun 2024 22:46:45 +0200 Subject: [PATCH] Use voids to select packs --- Framework/Foundation/include/Framework/Pack.h | 32 +++++++++++++++++-- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/Framework/Foundation/include/Framework/Pack.h b/Framework/Foundation/include/Framework/Pack.h index f03476f4fdc0e..7f5d79d761666 100644 --- a/Framework/Foundation/include/Framework/Pack.h +++ b/Framework/Foundation/include/Framework/Pack.h @@ -99,17 +99,43 @@ constexpr auto interleave_pack(pack, pack) template using interleaved_pack_t = decltype(interleave_pack(P1{}, P2{})); +/// Marks as void the types that do not satisfy the condition +template