36 #ifndef LIB_META_TYPELIST_UTIL_H 37 #define LIB_META_TYPELIST_UTIL_H 58 template<
class TY,
class TYPES>
73 static constexpr
int value = 0;
75 template<
class TY,
class TYPES>
78 static constexpr
size_t thisval =
sizeof(TY);
80 static constexpr
size_t value = nextval > thisval? nextval:thisval;
92 static constexpr
int value = 0;
94 template<
class TY,
class TYPES>
97 static constexpr
size_t thisval =
alignof(TY);
99 static constexpr
size_t value = nextval > thisval? nextval:thisval;
107 template<
typename TY,
typename TYPES>
110 enum{ value =
false };
113 template<
typename TY,
typename TYPES>
116 enum{ value =
true };
119 template<
typename TY,
typename XX,
typename TYPES>
126 template<
typename TY,
typename TYPES>
137 template<
typename TYPES>
146 template<
typename TY,
typename TYPES>
A template metaprogramming technique for manipulating collections of types.
Implementation namespace for support and library code.
constexpr bool isInList()
convenience shortcut: query function