]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - share/misc/operator
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / share / misc / operator
1 Operator                                        Associativity
2 -------------------------------------------------------------
3 () [] -> .                                      left to right
4 ! ~ ++ -- - (type) * & sizeof new delete        right to left
5 ->* .*                                          left to right
6 * / %                                           left to right
7 + -                                             left to right
8 << >>                                           left to right
9 < <= > >=                                       left to right
10 == !=                                           left to right
11 &                                               left to right
12 ^                                               left to right
13 |                                               left to right
14 &&                                              left to right
15 ||                                              left to right
16 ?:                                              right to left
17 = += -= *= /= %= <<= >>= &= ^= |= throw         right to left
18 ?: (C++, third operand)                         right to left
19 ,                                               left to right
20
21 $FreeBSD$