46 #include <type_traits> 118 cout <<
"List1" <<
"\t:" << Contents_List1::print() << endl;
144 CHECK ((is_same<NullType, E3> ::value));
145 CHECK ((is_same<NullType, Nil> ::value));
146 CHECK ((is_same<NullType, Irrelevant>::value));
171 typedef Append<Num<111>,List2> Append7;
302 typedef Apply<List1, AddConst2> Added2;
307 template<
class X>
struct IsEven {
enum {value =
false }; };
308 template<
int I>
struct IsEven<
Num<I>> {
enum {value = (0 == I % 2) }; };
314 DISPLAY (FilterEven);
Helpers for working with lib::meta::Types (i.e.
Implementation namespace for support and library code.
Simple test class runner.
Support for writing metaprogramming unit-tests dealing with typelists and flags.
Metaprogramming: Helpers for manipulating lists-of-types.