正在加载图片...
1S01EC148822003E) 7.5 Linkage specifications 126 8 Declaraors... 13引 8.1 Type names... 132 8.2 Ambiguity resolution. 132 8.3 Meaning of declarators 134 8.3.1 Poimers 135 8.3.2 References....... 135 8.3.3 Poirters to members m136 8.3.4 T544 137 835 Functionts....... 138 8.3.6 Default argumments. 141 8.4 Function definitions 144 8.5 Initializers..... 145 8.5.1Ag8r9ge5 147 8.5.2 Character ararys 150 8.3.3 References......... 130 9 Classes. 153 9.1 Class names.. 153 9.2 Class members......... 155 9.3 Member functions. 157 9.3.I Noretatic member functiones 158 932 The this pointer 160 9.4Stl民nembers. 160 9.4.1 Static member functions 16 942 Statie data members. 161 9.5 Unions.… 162 9.6 Bat-fields 163 9.7 Nested elass declarations 16d 9.8 Local class declarations 165 9.9 Nested type names .166 10 Derived classes...... 167 10.I Multiple base classes .168 10.2 Member name lookup 169 10.3 Virtual functions. 172 v ●50EG20ag-A相ghts nesenved ISO/IEC 14882:2003(E) viii © ISO/IEC 2003 — All rights reserved 7.5 Linkage specifications .........................................................................................................................126 8 Declarators ..............................................................................................................................................131 8.1 Type names ..........................................................................................................................................132 8.2 Ambiguity resolution ...........................................................................................................................132 8.3 Meaning of declarators ........................................................................................................................134 8.3.1 Pointers .............................................................................................................................................135 8.3.2 References .........................................................................................................................................135 8.3.3 Pointers to members .........................................................................................................................136 8.3.4 Arrays ...............................................................................................................................................137 8.3.5 Functions...........................................................................................................................................138 8.3.6 Default arguments .............................................................................................................................141 8.4 Function definitions .............................................................................................................................144 8.5 Initializers ............................................................................................................................................145 8.5.1 Aggregates ........................................................................................................................................147 8.5.2 Character arrays ................................................................................................................................150 8.5.3 References .........................................................................................................................................150 9 Classes ....................................................................................................................................................153 9.1 Class names .........................................................................................................................................153 9.2 Class members .....................................................................................................................................155 9.3 Member functions ................................................................................................................................157 9.3.1 Nonstatic member functions .............................................................................................................158 9.3.2 The this pointer .............................................................................................................................160 9.4 Static members.....................................................................................................................................160 9.4.1 Static member functions ...................................................................................................................161 9.4.2 Static data members ..........................................................................................................................161 9.5 Unions ..................................................................................................................................................162 9.6 Bit-fields ..............................................................................................................................................163 9.7 Nested class declarations .....................................................................................................................164 9.8 Local class declarations .......................................................................................................................165 9.9 Nested type names ...............................................................................................................................166 10 Derived classes .....................................................................................................................................167 10.1 Multiple base classes .........................................................................................................................168 10.2 Member name lookup ........................................................................................................................169 10.3 Virtual functions ................................................................................................................................172
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有