23 Nov
2008
23 Nov
'08
5:19 p.m.
Eric Niebler a écrit :
Right, as you've discovered, Proto overloads unary operator& by default, but you can turn it off in your domain's grammar. The grammar you suggested won't do it, though. Try this:
proto::and_< proto::nary_expr<_, proto::vararg
> , proto::not_< proto::address_of<_> >
Works for GCC but ICC don't want to compile any operator (+,_, or w/e) ICC version for reference : version 10.1 for Linux -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35