Boost logo

Boost :

Subject: [boost] Phoenix Quoting
From: paul Fultz (pfultz2_at_[hidden])
Date: 2011-12-08 14:52:10


Hi,
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?

Thanks,
Paul


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