From: joel de guzman (isis-tech_at_[hidden])
Date: 2001-05-30 06:10:29
From: "Anthony Williams" :
> How about overloading the comma operator, so
> works as expected?
No. That was documented in the Spirit docs. The problem
is that the comma operator has a very low precedence. even
lower than the =.
"N The comma operator as in a, b seems to be a better
candidate, syntax-wise. But then the problem is with its
precedence. It has the lowest precedence in C/C++,
which makes it virtually useless."
I always wished I could use the comma. I did, initially.
But I got bitten when I typed in:
r = a, b | c;
Joel de Guzman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk