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>()); };