2.11 - [lex.key] - [lexing. Keywords]

xiaoxiao2021-03-06  110

Please don't reprint this article; please don't re-publish this article in any form; please delete it within 24 hours of downloading this article; it is forbidden to use this article for commercial purposes.

2 Lexical conventions [lex] 2.11 Keywords [lex.key] 2 Lexical Conventions [2.11] lexical lexical keyword [Keyword] The identifiers shown in Table 3 are reserved for use as keywords (that is, they are unconditionally treated as keywords In Phase 7):

Table 3 - Keywords

asmdoifreturntypedefautodoubleinlineshorttypeidbooldynamic_castintsignedtypenamebreakelselongsizeofunioncaseenummutablestaticunsignedcatchexplicitnamespacestatic_castusingcharexportnewstructvirtualclassexternoperatorswitchvoidconstfalseprivatetemplatevolatileconst_castfloatprotectedthiswchar_tcontinueforpublicthrowwhiledefaultfriendregistertrue deletegotoreinterpret_casttry

The identifier shown in Table 3 is preserved as a keyword (that is, they unconditionally, they are related to keywords in the 7th phase):

Table 3 - Keyword

asmdoifreturntypedefautodoubleinlineshorttypeidbooldynamic_castintsignedtypenamebreakelselongsizeofunioncaseenummutablestaticunsignedcatchexplicitnamespacestatic_castusingcharexportnewstructvirtualclassexternoperatorswitchvoidconstfalseprivatetemplatevolatileconst_castfloatprotectedthiswchar_tcontinueforpublicthrowwhiledefaultfriendregistertrue deletegotoreinterpret_casttry

Furthermore, The Alternative Representation SHOWN TABLE 4 for Certain Operators and Punctuators (2.5) Are Reserved and Shall NOT BE USED Otherwise:

Table 4 - Alternative Representations

ANDAND_EQBITANDBITORCOMPLNOTNOTNOT_EQOROROR_EQXORXOR_EQ

Further, some operators listed in Table 4 and the candidate representation symbol (2.5) of the punctuation are preserved, nor can it be used.

Table 4 - candidate representation symbol

ANDAND_EQBITANDBITORCOMPLNOTNOTNOT_EQOROROR_EQXORXOR_EQ

转载请注明原文地址:https://www.9cbs.com/read-98396.html

New Post(0)