
15 Jun
2007
15 Jun
'07
5:10 p.m.
Maurizio Vitale wrote:
On Jun 14, 2007, at 12:09 PM, Eric Niebler wrote:
I can easily patch up proto::matches<> such that tag::terminal does not match _, so that a terminal will not match unary_expr<_,_>. It *will* still match unary_expr<tag::terminal,_> though. Would that be ok?
Would be helpful (and would solve my specific case completely), but
This behavior is now implemented.
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. -- Eric Niebler Boost Consulting www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com