6 Feb
2010
6 Feb
'10
7:44 a.m.
Manjunath Kudlur wrote:
This gets cumbersome when I have more Var<> types. Is there a way to not list each Var<> type in the grammar? That is, I want to match any Var<T> and just call the _var_tostr(proto::_value) transform. How can I accomplish this?
Try that:
struct var_tostr :
proto::or_<
proto::when