bcf6a6c007
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.
20 lines
571 B
Plaintext
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
|