Boost logo

Boost :

From: Maurizio Vitale (maurizio.vitale_at_[hidden])
Date: 2007-06-15 15:45:00


On Jun 15, 2007, at 2:34 PM, Eric Niebler wrote:

> 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.
>
>

Thanks Eric.

My code and the testcases I have work fine, what should I be on the
lookout for?
I didn't change anything in my code, patterns are what they were and
access to
the terminal data is through unmodified proto::arg{,_c}

Regards,

                        Maurizio


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