Boost logo

Boost :

From: Martin Wille (mw8329_at_[hidden])
Date: 2002-10-12 08:12:44


Dan Gohman wrote:

> Perhaps Spirit should use operator|= for the EBNF syntax. This function
> could then provide behavior whatever semantics desired without having
> to be constrained by the otherwise-unrelated container requirements.
>
> For example, operator|= could implement the 1.3 behavior:
>
> r |= a;
> r |= b;
>
> This would be equivalant to `r = a | b' in 1.5 syntax.

The problem with this is that

   r |= a;

would not be equivalent to

   r = r | a;

regards,
m

http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
- Always be connected to your Messenger Friends


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