Boost logo

Boost Users :

Subject: Re: [Boost-users] [Proto] POD expression can't be used in std::vector
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2008-11-23 12:19:50


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<my_grammar> >
> , 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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net