正在加载图片...
1S01EC148822003(E) 1.10 Acknowledgments 2 Lexical conventions.. 9 2.1 Phases of translation 9 2.2 Character sets. 10 23Trg写hque85 2.4 Preprocessing tokens ,11 2.5 Ahemative tokens.. 12 2.6 Tokents 12 2.7 Comments........ 2.8 Header names. 13 2.9 Preprocessing numbers. 13 2.10 Identifiers... 13 2.11 Keywords. .14 2.12 Operators and punctuators 2.13 Literals 2.13.I Integer literals.. .15 2.13.2 Character literals ,16 2.13.3 Floating litcrals .18 2.13.4 String lierals... .19 2.13.5 Boolean literals .19 3 Basic concepts..... 21 3.1 Declarations and definitions. 21 3.2 One definition rule. 22 3.3 Declarative regions and scopes 24 3.3.1 Point of declaration 25 3.3.2 Local scope....... 26 3.3.3 Function procotype scope 26 3.3.4 Function scope.. 27 3.3.5 Namespace scope 27 3.3.6 Class scope..... 27 3.3.7 Name hiding 444444444444444444444444444 28 3.4 Name lookup.... 9 3.4.1 Ungusalified name lookup 29 3.4.2 Argument-dependent name lookup. .32 3.4.3 Qulified name lookup .34 SOEC 2003-Al rights neserved ISO/IEC 14882:2003(E) iv © ISO/IEC 2003 — All rights reserved 1.10 Acknowledgments .................................................................................................................................8 2 Lexical conventions ....................................................................................................................................9 2.1 Phases of translation ................................................................................................................................9 2.2 Character sets .........................................................................................................................................10 2.3 Trigraph sequences ................................................................................................................................11 2.4 Preprocessing tokens .............................................................................................................................11 2.5 Alternative tokens ..................................................................................................................................12 2.6 Tokens....................................................................................................................................................12 2.7 Comments ..............................................................................................................................................12 2.8 Header names .........................................................................................................................................13 2.9 Preprocessing numbers ..........................................................................................................................13 2.10 Identifiers .............................................................................................................................................13 2.11 Keywords .............................................................................................................................................14 2.12 Operators and punctuators ...................................................................................................................15 2.13 Literals .................................................................................................................................................15 2.13.1 Integer literals ...................................................................................................................................15 2.13.2 Character literals ...............................................................................................................................16 2.13.3 Floating literals .................................................................................................................................18 2.13.4 String literals .....................................................................................................................................19 2.13.5 Boolean literals .................................................................................................................................19 3 Basic concepts ..........................................................................................................................................21 3.1 Declarations and definitions ..................................................................................................................21 3.2 One definition rule .................................................................................................................................22 3.3 Declarative regions and scopes ..............................................................................................................24 3.3.1 Point of declaration .............................................................................................................................25 3.3.2 Local scope .........................................................................................................................................26 3.3.3 Function prototype scope ....................................................................................................................26 3.3.4 Function scope ....................................................................................................................................27 3.3.5 Namespace scope ................................................................................................................................27 3.3.6 Class scope..........................................................................................................................................27 3.3.7 Name hiding........................................................................................................................................28 3.4 Name lookup ..........................................................................................................................................29 3.4.1 Unqualified name lookup ...................................................................................................................29 3.4.2 Argument-dependent name lookup .....................................................................................................32 3.4.3 Qualified name lookup .......................................................................................................................34
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有