Boost logo

Boost :

Subject: Re: [boost] [Phoenix-3] Is Actor assignable?
From: Joel de Guzman (joel_at_[hidden])
Date: 2011-01-23 05:50:13


On 1/23/2011 1:36 PM, Michel MORIN wrote:
> Hi Joel,
>
> Joel de Guzman wrote:
>>>> OTOH, I think a good compromise is to allow default construction on
>>>> primitive
>>>> types and POD structs. That will solve your problem. I can do that now
>>>> with
>>>> phoenix-2.
>>>
>>> That makes my life easier :)
>>> May I ask you to do that?
>>> Thanks, Joel.
>>
>> Done. I added unconstrained default construction anyway as it seems to
>> be the way forward to V3.
>
> Thank you for doing this!
> I've tried to run the code with Phoenix 2, but got some errors.
>
> boost/spirit/home/phoenix/core/actor.hpp:91:
> error: 'Base' has not been declared
> boost/spirit/home/phoenix/core/actor.hpp:97:
> error: 'Base' has not been declared
>
> You mean 'Eval' here?
> After changing 'Base' to 'Eval', the code runs as my intention :)

That is correct. Sorry about that. Fixed.

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://boost-spirit.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk