45 #ifndef LIB_META_TYPELIST_UTIL_H 46 #define LIB_META_TYPELIST_UTIL_H 67 template<
class TY,
class TYPES>
82 static constexpr
int value = 0;
84 template<
class TY,
class TYPES>
87 static constexpr
size_t thisval =
sizeof(TY);
89 static constexpr
size_t value = nextval > thisval? nextval:thisval;
101 static constexpr
int value = 0;
103 template<
class TY,
class TYPES>
106 static constexpr
size_t thisval =
alignof(TY);
108 static constexpr
size_t value = nextval > thisval? nextval:thisval;
116 template<
typename TY,
typename TYPES>
119 enum{ value =
false };
122 template<
typename TY,
typename TYPES>
125 enum{ value =
true };
128 template<
typename TY,
typename XX,
typename TYPES>
135 template<
typename TY,
typename TYPES>
146 template<
typename TYPES>
155 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