
22 Nov
2008
22 Nov
'08
8:34 p.m.
Joel Falcou a écrit :
I have a expression who use BOOST_PROTO_EXTEND to be used as a POD type and I have a class inheriting from this expression to build a terminal class.
... Is it a proto bug or a std bug ?
OK seems I found the error myself. I was using bp::nary_expr< bp::_, bp::vararg<my_grammar> > as a rule in my_grammar, which obviously caught tag::address_of. Is it correct for matching any nary_expr *except* address_of : bp::nary_expr< bp::not_<pt::address_of>, bp::vararg<my_grammar> > or is there a better way if I want to prevent a subset of tag to be used ? -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35