List of C++ Keywords
Keywords are reserved to the compiler for use by the
language. You cannot define classes, variables, or functions that have these
keywords as their names.
asm
auto
bool
break
case
catch
char
class
const
const_cast
continue
default
delete
do
double
dynamic_cast
else
enum
explicit
export
extern
false
float
for
friend
goto
if
inline
int
long
mutable
namespace
new
operator
private
protected
public
register
reinterpret_cast
return
short
signed
sizeof
static
static_cast
struct
switch
template
this
throw
true
try
typedef
typeid
typename
union
unsigned
using
virtual
void
volatile
wchar_t
while
In addition, the following
words are reserved:
and
and_eq
bitand
bitor
compl
not
not_eq
or
or_eq
xor
xor_eq
No comments:
Post a Comment