mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 15:32:45 +00:00
11c39fb4a3
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
22 lines
582 B
Plaintext
22 lines
582 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
|
|
|
|
$FreeBSD$
|