
15 Jun
2007
15 Jun
'07
6:34 p.m.
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