Subject: Re: [boost] Phoenix Quoting
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-12-08 15:09:21
On 12/08/2011 08:52 PM, 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?
What you want is a Proto transform that converts a tree to a string.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk