Subject: Re: [boost] Phoenix Quoting
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-12-09 14:11:15
On 12/09/2011 06:50 PM, Steven Watanabe wrote:
> On 12/08/2011 11:52 AM, paul Fultz wrote:
>> Is there a way using Phoenix to do quoting? I would like to do something like this:
>> quote x("x");
>> string s = (x< 3 and x> 0)(); //s = "x< 3 and x> 0"
>> Is there some kind of quote class in Phoenix or a way to create a quote class?
> I suspect that you'd do better with raw Proto,
> since the evaluation has nothing to do with
> normal C++ semantics.
I suppose you could also want to generate code for Phoenix-specific nodes.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk