template<class TTypeList, unsigned int Dimension>
class typelist::VisitDimension< TTypeList, Dimension >
Runs a templated predicate on each type in the list with dimension provided as template parameter.
struct Predicate
{
template<class TType, unsigned int Dimension >
{ std::cout <<
typeid(TType).name() <<
", " << (
unsigned int)(Dimension) << std::endl; }
};
typedef typelist::MakeTypeList<int, char>::Type MyTypeList;
Runs a templated predicate on each type in the list with dimension provided as template parameter.
void operator()(Predicate &visitor)
Definition at line 544 of file TypeList.h.