Mark wrote:
int main() { // Print the associated type for the 'Tuesday' enumeration std::cout << typeid( FieldTypeT< Tuesday >::type ).name() << std::endl;;
// Print the list of enumerations mpl::for_each< _day_field_types, mpl::key_type< mpl::map<>, mpl::_1 > >( printer() ); // Compiler error! }
// Print the list of enumerations mpl::for_each < _day_field_types, typename mpl::lambda < mpl::key_type < _day_field_types , mpl::_1 > >::type >( printer() ); // No Compiler error!