Appendix A.  C++ Reserved Keywords

[ fromfile: keywords.xml id: keywords ]

Keywords are identifiers that are part of the basic syntax of the language. These names have fixed meanings and cannot be used in any way that attempts to change those meanings.

Here is a list of keywords in C++. Those in bold are also part of ANSI C89.

and extern signed
and_eq false sizeof
asm float static
auto for static_cast
bitand friend struct
bitor goto switch
bool if template
break inline this
case int throw
catch long true
char mutable try
class namespace typedef
compl new typeid
const not typename
const_cast not_eq union
continue operator unsigned
default or using
delete or_eq virtual
do private void
double protected volatile
dynamic_cast public wchar_t
else register while
enum reinterpret_cast xor
explicit return xor_eq
export short