
1 Apr
2008
1 Apr
'08
2:08 a.m.
Steven Watanabe wrote:
AMDG
Eric Niebler wrote:
5) You can override an expression's domain with "proto::as_expr<Domain>(expr)". This gives a way to mix expressions from different domains in the same expression.
I'm not sure that's enough. I can imagine wanting one domain to treat expressions in another domain as terminals. Specifically, I am thinking of using lambda in another domain that expects function objects.
Could you show some pseudo-code for your DSEL? What support from Proto do you think you'll need? -- Eric Niebler Boost Consulting www.boost-consulting.com