|
Boost Users : |
Subject: Re: [Boost-users] [Proto] POD expression can't be used in std::vector
From: Eric Niebler (eric_at_[hidden])
Date: 2008-11-23 12:30:37
Joel Falcou wrote:
> 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
Please post the code that reproduces the error. I'll try to get ICC set
up on my Linux box.
-- Eric Niebler BoostPro Computing http://www.boostpro.com
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