Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2007-06-15 13:10:14


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk