
From: Howard Hinnant <hinnant@twcny.rr.com>
On Jul 25, 2004, at 1:29 PM, Rob Stewart wrote:
The good news, in case no one else considered it, is that the precedence of any of the X= operators is very low, so you can take your pick on esthetic grounds alone.
The bad news is that ~= isn't really available. ;-)
Doh, I guess I should have double-checked myself on the list of available operators rather than creating my own!
Here's the full list to peruse:
= += -= *= /= %= ^= &= |=
= <<=
BTW, given the earlier examples using the conditional operator, I don't think we should consider any other operators (except <opening can with worms> the comma operator). (No, I wasn't serious about the comma operator, I just couldn't resist since it has lower precedence and there was a recent discussion about it.) -- Rob Stewart stewart@sig.com Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;