cpp:予約語
「キーワード」はC++コンパイラに対して、データ型や命令文の意味を持ち、ユーザーはこれを識別子としては使えない。
C++のキーワードには以下のものがある。
覚える必要はないが、さっと目を通しておくとよい。
and and_eq asm auto
bitand bitor bool break
case catch char class compl const const_cast continue
default delete do double dynamic_cast
else enum explict export extern
false float for friend
goto
if inline int
long
mutable
namespace new not not_eq
operator or or_eq
private protected public
register reinterpret_cast return
short signed sizeof static static_cast struct switch
template this throw true try typedef typeid typename
using union unsigned
virtual void volatile
wchar_t while
xor xor_eq
c-lang:予約語