From fbb31cf1ec98f482a0104ea56984ff0b7c52ff5e Mon Sep 17 00:00:00 2001 From: sha512sum Date: Tue, 11 Jun 2024 08:29:31 +0000 Subject: [PATCH] Update PackConstexprWrapper function --- include/utempl/utils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/utempl/utils.hpp b/include/utempl/utils.hpp index ba965ee..d105499 100644 --- a/include/utempl/utils.hpp +++ b/include/utempl/utils.hpp @@ -347,10 +347,10 @@ inline constexpr auto Map(F&& f, TypeList result = {}) { }; }; -template +template consteval auto PackConstexprWrapper() { return [&](std::index_sequence) { - return MakeTuple(kWrapper(Tuple)>...); + return MakeTuple(kWrapper(Tuple)>...); }(std::make_index_sequence>()); };