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;

m - Yahoo! Messenger for SMS
- Always be connected to your Messenger Friends

Boost list run by bdawes at, gregod at, cpdaniel at, john at