22 template <std::size_t N,
typename F,
typename... Args>
23 [[nodiscard]]
constexpr auto static_for(F &&f, Args &&...args)
25 return []<std::size_t... I>(std::index_sequence<I...>, F &&f, Args &&...args)
constexpr
27 std::forward<F>(f).template operator()<I...>(std::forward<Args>(args)...);
28 }(std::make_index_sequence<N>{}, std::forward<F>(f), std::forward<Args>(args)...);