|
Boost : |
From: Rob Stewart (stewart_at_[hidden])
Date: 2004-07-26 09:06:45
From: Howard Hinnant <hinnant_at_[hidden]>
> 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_at_[hidden] Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk