< previous page
page_a1
next page >
Page A1
Appendixes
Appendix A
Reserved Words
The following identifiers are
reserved words
identifiers 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
::
Left to right
() [] -> .
Left to right
Unary:
++ -- ~ ! + - & * new delete
(cast)
sizeof
Right to left
->* .*
Left to right
* / %
Left to right
+ -
Left to right
< >>
Left to right
< <= > >=
Left to right
== !=
Left to right
&
Left to right
Left to right
|
Left to right
&&
Left to right
(
continued on next page)
< previous page
page_a1
next page >