Boost logo

Boost :

Subject: Re: [boost] [Phoenix-3] Is Actor assignable?
From: Michel MORIN (mimomorin_at_[hidden])
Date: 2011-01-23 00:36:53


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 :)

Regards,
Michel


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