C++ Supported Expression Operators

You can monitor an expression that uses the following operators only:

Operator
Coded as
Global scope resolution
::a
Class or namespace scope resolution
a::b
Subscripting
a[b]
Member selection
a.b or a->b
Size
sizeof a or sizeof (type)
Logical not
!a
Ones complement
~a
Unary minus
-a
Unary plus
+a
Dereference
*a
Type cast
(type) a
Multiply
a * b
Divide
a / b
Modulo
a % b
Add
a + b
Subtract
a - b
Left shift
a << b
Right shift
a >> b
Less than
a < b
Greater than
a > b
Less than or equal to
a <= b
Greater than or equal to
a >= b
Equal
a == b
Not equal
a != b
Bitwise AND
a & b
Bitwise OR
a | b
Bitwise exclusive OR
a ^ b
Logical AND
a && b
Logical OR
a || b