NetBSD/share/misc/operator
uwe bcf6a6c007 Bring over improvements from FreeBSD.
List all of the assignment operators explicitly, for those who have
  been traumatized by perl.

  Add C++ operators (from Christoph Mallon <christoph.mallon@gmx.de>)

Markup improvements to make PostScript output pretty.

Bring back FILES section now that /usr/share/misc/operator is
resurrected.
2011-01-18 23:36:06 +00:00

20 lines
571 B
Plaintext

Operator Associativity
-------------------------------------------------------------
() [] -> . left to right
! ~ ++ -- - (type) * & sizeof new delete right to left
->* .* left to right
* / % left to right
+ - left to right
<< >> left to right
< <= > >= left to right
== != left to right
& left to right
^ left to right
| left to right
&& left to right
|| left to right
?: right to left
= += -= *= /= %= <<= >>= &= ^= |= throw right to left
?: (C++, third operand) right to left
, left to right