Go to the first, previous, next, last section, table of contents.


4.10.3 C++ Operator Symbols

The following are special within the declaration of a C++ operator (see section 5.4 Declarators), and within a C++ statement or expression.

C++-operator-symbol ::= new | delete
 | new [ non-nl-white-space ] ... [] | delete [ non-nl-white-space ] ...  []
 | +   | -   | *   | /   | %   | ^   | &   | `|' | ~
 | !   | =   | <   | >   | +=  | -=  | *=  | /=  | %=
 | ^=  | &=  | |=  | <<   | >>  | >>= | <<= | ==  | !=
 | <=  | >=  | &&  | `||' | ++  | --  | ,   | ->* | ->
 | ()  | []

See section 4.15 Alternative Tokens for alternatives for the characters &, |, ~, !, ^, [, and ] used in such operators. The alternative token correspondence is the same as in Section r.2.4 of [Stroustrup95].


Go to the first, previous, next, last section, table of contents.