索引
こちら?に移転作業中です。

数字記号?

A?B?CDE?F?
G?H?I?J?K?L?
M?N?O?P?Q?R?
S?T?U?V?W?X?
Y?Z?

?????
?????
?????
?????
?????
?????
?????
? ? ?
?????
? 

キーワード

keyword

キーワードは別の用途に使用してはならない。


下表の識別子はキーワードとして予約されている。

キーワード
asmdoifreturntypedef
autodoubleinline?shorttypeid
booldynamic_castintsignedtypename?
breakelselongsizeofunion
caseenummutablestaticunsigned
catchexplicitnamespacestatic_castusing?
charexportnewstructvirtual
classexternoperatorswitchvoid
constfalseprivatetemplate?volatile
const_castfloatprotectedthiswchar_t
continueforpublicthrowwhile
defaultfriendregistertrue
deletegotoreinterpret_casttry


また、下表に示す代替表現も予約されている。

代替表現
andand_eqbitandbitorcomplnot
not_eqoror_eqxorxor_eq

これらの代替表現は演算子や区切り子を置き換えるものである。標準Cでは<iso646.h>内でマクロとして定義されていたが、C++ではキーワードになっている。

予約名
2005年10月07日(金) 16:34:43 Modified by takagi_nobuhisa




スマートフォン版で見る