19 #ifndef TRINITY_TYPELIST_H
20 #define TRINITY_TYPELIST_H
30 template<
typename HEAD,
typename TAIL>
38 #define TYPELIST_1(T1) TypeList<T1, TypeNull>
39 #define TYPELIST_2(T1, T2) TypeList<T1, TYPELIST_1(T2) >
40 #define TYPELIST_3(T1, T2, T3) TypeList<T1, TYPELIST_2(T2, T3) >
41 #define TYPELIST_4(T1, T2, T3, T4) TypeList<T1, TYPELIST_3(T2, T3, T4) >
42 #define TYPELIST_5(T1, T2, T3, T4, T5) TypeList<T1, TYPELIST_4(T2, T3, T4, T5) >
43 #define TYPELIST_6(T1, T2, T3, T4, T5, T6) TypeList<T1, TYPELIST_5(T2, T3, T4, T5, T6) >
HEAD Head
Definition: TypeList.h:33
Definition: TypeList.h:31
TAIL Tail
Definition: TypeList.h:34