< previous page page_a1 next page >

Page A1
Appendixes
Appendix A
Reserved Words
The following identifiers are reserved wordsidentifiers with predefined meanings in the C++ language. The programmer cannot declare them for other uses (for example, variable names) in a C++ program.
asm
double
new
switch
auto
else
operator
template
break
enum
private
this
case
extern
protected
throw
catch
float
public
try
char
for
register
typedef
class
friend
return
union
const
goto
short
unsigned
continue
if
signed
virtual
default
inline
sizeof
void
delete
int
static
volatile
do
long
struct
while

Appendix B
Operator Precedence
Precedence (highest to lowest)
Operator
Associativity
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
::
Left to right
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
() [] -> .
Left to right
Unary: ++ -- ~ ! + - & * new delete (cast) sizeofRight to left
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
->* .*
Left to right
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
* / %
Left to right
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
+ -
Left to right
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
< >>
Left to right
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
< <= > >=
Left to right
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
== !=
Left to right
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
&
Left to right
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Left to right
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
|
Left to right
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
&&
Left to right
(continued on next page)

 
< previous page page_a1 next page >