37 #include <type_traits> 109 cout <<
"List1" <<
"\t:" << Contents_List1::print() << endl;
135 CHECK ((is_same<NullType, E3> ::value));
136 CHECK ((is_same<NullType, Nil> ::value));
137 CHECK ((is_same<NullType, Irrelevant>::value));
162 typedef Append<Num<111>,List2> Append7;
293 typedef Apply<List1, AddConst2> Added2;
298 template<
class X>
struct IsEven {
enum {value =
false }; };
299 template<
int I>
struct IsEven<
Num<I>> {
enum {value = (0 == I % 2) }; };
305 DISPLAY (FilterEven);
Helpers for working with lib::meta::Types (i.e.
Implementation namespace for support and library code.
Simplistic test class runner.
Support for writing metaprogramming unit-tests dealing with typelists and flags.
Metaprogramming: Helpers for manipulating lists-of-types.