8namespace SL::Util::CompileTime
11 template<std::size_t... inds,
class F>
12 constexpr void static_for_impl(std::index_sequence<inds...>, F&& f)
14 (f(std::integral_constant<std::size_t, inds>{}), ...);
17 template<std::
size_t N,
class F>
18 constexpr void static_for(F&& f)
20 static_for_impl(std::make_index_sequence<N>{}, std::forward<F>(f));
23 template<
int N,
typename... Ts>
24 using NthType =
typename std::tuple_element<N, std::tuple<Ts...>>::type;