4#include "../../Libraries/Foundation/Compiler.h"
5#include "../../Libraries/Foundation/TypeTraits.h"
16template <
bool B,
class T,
class F>
using ConditionalT =
typename Conditional<B,T,F>::type;
22template <
typename... TT>
26 static const int size =
sizeof...(TT);
34template <
typename T,
int N,
int M = 0>
43template <
int N,
int M,
typename T,
typename... TT>
54template <
int N,
int M>
65struct TypeListGet<TypeList<>, N, 0>
73template <
typename T,
int N>
typename TypeListGet< T, N >::type TypeListGetT
Alias template to simplify accessing the retrieved type using TypeListGet.
Definition TypeList.h:74
typename Conditional< B, T, F >::type ConditionalT
ConditionalT is an alias template that resolves to type T if a boolean value is true,...
Definition TypeList.h:16
Retrieves the type at the specified index in the TypeList.
Definition TypeList.h:35
Represents a variadic template type list.
Definition TypeList.h:24
static const int size
Total number of types in the list.
Definition TypeList.h:26