Boost logo

Boost :

From: Gary Powell (Gary.Powell_at_[hidden])
Date: 2001-06-04 09:46:56


As I mentioned in my other post, how do you distinguish explicit grouping?:

   a, (b | c).... explicit grouping

   a, b | c.... implicit grouping (precedence groups (b | c) automatically)

You can't. I apologize, as I was going through the long history of boost
postings, I hadn't got to your answer before I replied.

The only way out is to make a "grouping" function. (Can you say Ick?!?)

 a, group_ick(b | c) ....

Or in addition to Bjarne's whitespace function calls, add overloading of
global operator()! (along with my other suggestion of overloading
operator;()!

 -gary-

gary.powell_at_[hidden]


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