< previous page page_444 next page >

Page 444
Table A.1. Operator precedence.
RankNameOperator
1scope resolution::
2member selection, subscripting,
function calls, postfix increment
and decrement
. ->
()
++ - -
3sizeof, prefix increment and decrement, complement, and, not, unary minus and plus, address of and dereference, new, new[],
delete, delete[], casting,
sizeof()
++ - -
^ !
- +
& *
()
4member selection for pointer.* ->*
5multiply, divide, modulo* / %
6add, subtract+ -
7shift<< >>
8inequality relational< <= > >=
9equality, inequality== !=
10bitwise AND&
11bitwise exclusive OR^
12bitwise OR¦
13logical AND&&
14logical OR¦¦
15conditional?:
16assignment operators= *= /= %=
+= -= <<= >>=
&= ¦= ^=
17throw operatorthrow
18comma,

 
< previous page page_444 next page >

If you like this book, buy it!