|
Boost : |
From: Eric Niebler (eric_at_[hidden])
Date: 2008-03-31 22:08:11
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk