|
Boost : |
From: Eric Niebler (eric_at_[hidden])
Date: 2007-06-15 14:34:21
Eric Niebler wrote:
> Maurizio Vitale wrote:
>> if you could find a way to completely hide the fact that a terminal is
>> a unary_expr from the user I think it would be much cleaner for
>> a boost::proto release.
>
> I now have some ideas about how to add nullary expressions to proto.
> I'll investigate.
Proto terminals are now nullary expressions. The change is that
terminal<int>::type used to be:
expr<tag::terminal, args1<int>, 1>
and now it is:
expr<tag::terminal, args0<int>, 0>
Everything else stays pretty much the same. This is a breaking change,
so watch out.
-- Eric Niebler Boost Consulting www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk