Operators are listed top to bottom, in descending precedence. Operators with the same number have equal precedence and the same associativity.
::
[]
()
T(...)
.
->
++
--
dynamic_cast
static_cast
reinterpret_cast
const_cast
typeid
++
--
\\*
&
\\+
\\-
\\!
~
sizeof
new
delete
delete[]
; the C-style cast notation, (T)...
; (C++11 and above) sizeof...
alignof
noexcept
.*
and ->*
\\*
, /
, and %
, binary arithmetic operators\\+
and \\-
, binary arithmetic operators<<
and >>
\\<
, \\>
, <=
, >=
==
and !=
&
, the bitwise AND operator^
|
&&
||
?:
(ternary conditional operator)=
, *=
, /=
, %=
, +=
, -=
, >>=
, <<=
, &=
, ^=
, |=
throw
,
(the comma operator)