diff --git a/include/utempl/utils.hpp b/include/utempl/utils.hpp index 3054790..592dee0 100644 --- a/include/utempl/utils.hpp +++ b/include/utempl/utils.hpp @@ -733,4 +733,10 @@ constexpr auto Switch(KeysTuple&& keysTuple, ValuesTuple&& valuesTuple, Key&& ke }); }; +template > +consteval auto GetIndexesTuple() { + return [](auto... is) { + return MakeTuple(*is...); + } | kSeq; +}; } // namespace utempl