28 Sep
2009
28 Sep
'09
7:17 p.m.
I need to have a proto grammar that matches char, float or any pointer to either char or float. I tried : struct cfptr : or_< terminal<char> , terminal<short> , and_< cfptr , if_< is_pointer< remove_pointer< bp::value_>() >() > > {}; but it faisl to compile when i do : cout << matches< typename terminal<short>::type, cfptr>::value ; by telling me short is not a class or union. should I cut this in two parts or is there a way to do this in one shot? -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35