29#ifndef ETL_NTH_TYPE_INCLUDED
30#define ETL_NTH_TYPE_INCLUDED
33#include "static_assert.h"
42 template <
size_t N,
typename... TTypes>
48 template <
size_t N,
typename T1,
typename... TRest>
49 struct nth_type<N, T1, TRest...>
51 ETL_STATIC_ASSERT(
N <=
sizeof...(
TRest),
"etl::nth_type out of range for type list");
59 template <
typename T1,
typename... TRest>
60 struct nth_type<0U, T1, TRest...>
76 template <
size_t N,
typename... TTypes>
77 using nth_type_t =
typename nth_type<N, TTypes...>::type;
bitset_ext
Definition absolute.h:38
ETL_CONSTEXPR pair()
Default constructor.
Definition utility.h:176