#include "TypeList.hpp" #include using namespace std; typedef TypeList< int, TypeList< char *, TypeList< int, NullType > > > TestType; typedef TYPELIST_3( int, char *, int ) TestType2; int len = Length::value; int main( void ) { cout << "len: " << len << endl; return 0; }