-
Notifications
You must be signed in to change notification settings - Fork 0
Reserved Words
richardjoo edited this page Oct 7, 2012
·
2 revisions
Do you remember all these? :-D I forgot so much about these haha~ I will add some descriptions and example codes later
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
Additionally, alternative representations for some operators cannot be used as identifiers since they are reserved words under some circumstances:
and
and_eq
bitand
bitor
compl
not
not_eq
or
or_eq
xor
xor_eq