OPERATOR(7) | Miscellaneous Information Manual | OPERATOR(7) |
operator
—
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 |
January 18, 2011 | NetBSD 9.2 |