Compare the contents of 3 working drafts of C++ standard.
C++N4910:2022 Standard Working Draft on ISO/IEC 14882(0) sample code compile list
https://qiita.com/kaizen_nagoya/items/fc957ddddd402004bb91
C++N4741:2018 Stan
https://qiita.com/kaizen_nagoya/items/3294c014044550896010
C++N4606:2016 Standard Working Draft on ISO/IEC 14882(1) sample code compile list
https://qiita.com/kaizen_nagoya/items/df5d62c35bd6ed1c3d43
最新規格はC++N4950
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/n4950.pdf
list
C++N4910:2022 | C++N4741:2018 | C++N4606:2015 |
---|---|---|
Contents ii | ||
List of Tables x | ||
List of Figures xiv | ||
1 General 1 | ||
1 Scope 1 | 1 Scope 1 | 1.1 Scope . 1 |
2 Normative references 2 | 2 Normative references 2 | 1.2 Normative references . 1 |
3 Terms and definitions 3 | 3 Terms and definitions 3 | 1.3 Terms and definitions . 1 |
4 General principles 10 | 4 General principles 6 | |
4.1 Implementation compliance . 10 | 4.1 Implementation compliance . 6 | 1.4 Implementation compliance . 4 |
4.2 Structure of this document 11 | 4.2 Structure of this document 8 | 1.5 Structure of this International Standard 5 |
4.3 Syntax notation 11 | 4.3 Syntax notation 8 | 1.6 Syntax notation 5 |
1.7 The C++ memory model . 6 | ||
1.8 The C++ object model 6 | ||
1.9 Program execution 8 | ||
1.10 Multi-threaded executions and data races . 12 | ||
4.4 Acknowledgments . 8 | 1.11 Acknowledgments . 17 | |
5 Lexical conventions 13 | 5 Lexical conventions 9 | 2 Lexical conventions 18 |
5.1 Separate translation . 13 | 5.1 Separate translation . 9 | 2.1 Separate translation . 18 |
5.2 Phases of translation . 13 | 5.2 Phases of translation . 9 | 2.2 Phases of translation . 18 |
5.3 Character sets . 14 | 5.3 Character sets . 10 | 2.3 Character sets . 19 |
5.4 Preprocessing tokens . 16 | 5.4 Preprocessing tokens . 11 | 2.4 Preprocessing tokens . 20 |
5.5 Alternative tokens 17 | 5.5 Alternative tokens 12 | 2.5 Alternative tokens 21 |
5.6 Tokens . 17 | 5.6 Tokens . 12 | 2.6 Tokens . 22 |
5.7 Comments . 18 | 5.7 Comments . 12 | 2.7 Comments . 22 |
5.8 Header names . 18 | 5.8 Header names . 12 | 2.8 Header names . 22 |
5.9 Preprocessing numbers 18 | 5.9 Preprocessing numbers 13 | 2.9 Preprocessing numbers 23 |
5.10 Identifiers . 18 | 5.10 Identifiers . 13 | 2.10 Identifiers . 23 |
5.11 Keywords . 19 | 5.11 Keywords . 14 | 2.11 Keywords . 24 |
5.12 Operators and punctuators . 19 | 5.12 Operators and punctuators . 15 | 2.12 Operators and punctuators . 24 |
5.13 Literals 20 | 5.13 Literals 15 | 2.13 Literals 25 |
6 Basics 30 | 6 Basics 24 | 3 Basic concepts 35 |
6.1 Preamble . 30 | ||
6.2 Declarations and definitions . 31 | 6.1 Declarations and definitions . 24 | 3.1 Declarations and definitions . 35 |
6.3 One-definition rule 32 | 6.2 One-definition rule 26 | 3.2 One-definition rule 37 |
6.4 Scope . 37 | 6.3 Scope . 29 | 3.3 Scope . 41 |
6.5 Name lookup . 42 | 6.4 Name lookup . 34 | 3.4 Name lookup . 47 |
6.6 Program and linkage . 55 | 6.5 Program and linkage . 46 | 3.5 Program and linkage . 60 |
6.7 Memory and objects . 59 | 6.6 Memory and objects . 48 | 3.6 Start and termination 63 |
3.7 Storage duration . 67 | ||
3.8 Object lifetime 71 | ||
6.8 Types . 72 | 6.7 Types . 58 | 3.9 Types . 74 |
6.9 Program execution 78 | 6.8 Program execution 63 | 3.10 Lvalues and rvalues 81 |
7 Expressions 90 | 3.11 Alignment . 82 | |
7.1 Preamble . 90 | ||
7.2 Properties of expressions . 91 | ||
7.3 Standard conversions . 94 | 7 Standard conversions 75 | 4 Standard conversions 84 |
7.4 Usual arithmetic conversions . 98 | 7.1 Lvalue-to-rvalue conversion . 76 | 4.1 Lvalue-to-rvalue conversion . 85 |
7.5 Primary expressions . 99 | 7.2 Array-to-pointer conversion . 76 | 4.2 Array-to-pointer conversion . 85 |
7.6 Compound expressions 117 | 7.3 Function-to-pointer conversion 76 | 4.3 Function-to-pointer conversion 86 |
7.7 Constant expressions . 149 | 7.4 Temporary materialization conversion . 76 | 4.4 Temporary materialization conversion . 86 |
7.5 Qualification conversions . 77 | 4.5 Qualification conversions . 86 | |
7.6 Integral promotions 77 | 4.6 Integral promotions 87 | |
7.7 Floating-point promotion 78 | 4.7 Floating point promotion 87 | |
7.8 Integral conversions 78 | 4.8 Integral conversions 87 | |
7.9 Floating-point conversions 78 | 4.9 Floating point conversions 88 | |
7.10 Floating-integral conversions . 78 | 4.10 Floating-integral conversions . 88 | |
7.11 Pointer conversions 78 | 4.11 Pointer conversions 88 | |
7.12 Pointer-to-member conversions . 79 | 4.12 Pointer to member conversions . 88 | |
7.13 Function pointer conversions . 79 | 4.13 Function pointer conversions . 89 | |
7.14 Boolean conversions . 79 | 4.14 Boolean conversions . 89 | |
4.15 Integer conversion rank 89 | ||
8 Expressions 80 | 5 Expressions 91 | |
8.1 Preamble . 80 | 5.1 Primary expressions . 94 | |
8.2 Properties of expressions . 80 | 5.2 Postfix expressions 106 | |
8.3 Usual arithmetic conversions . 83 | 5.3 Unary expressions . 118 | |
8.4 Primary expressions . 84 | 5.4 Explicit type conversion (cast notation) 127 | |
8.5 Compound expressions 99 | 5.5 Pointer-to-member operators 128 | |
8.6 Constant expressions . 126 | 5.6 Multiplicative operators . 129 | |
5.7 Additive operators 130 | ||
5.8 Shift operators 130 | ||
5.9 Relational operators . 131 | ||
5.10 Equality operators 132 | ||
5.11 Bitwise AND operator 133 | ||
5.12 Bitwise exclusive OR operator 133 | ||
5.13 Bitwise inclusive OR operator 133 | ||
5.14 Logical AND operator 133 | ||
5.15 Logical OR operator . 134 | ||
5.16 Conditional operator . 134 | ||
5.17 Throwing an exception 135 | ||
5.18 Assignment and compound assignment operators . 136 | ||
5.19 Comma operator . 137 | ||
5.20 Constant expressions . 137 | ||
8 Statements 155 | 9 Statements 130 | 6 Statements 142 |
8.1 Preamble . 155 | ||
8.2 Labeled statement 156 | 9.1 Labeled statement 130 | 6.1 Labeled statement 143 |
8.3 Expression statement . 156 | 9.2 Expression statement . 131 | 6.2 Expression statement . 143 |
8.4 Compound statement or block 156 | 9.3 Compound statement or block 131 | 6.3 Compound statement or block 143 |
8.5 Selection statements . 156 | 9.4 Selection statements . 131 | 6.4 Selection statements . 143 |
8.6 Iteration statements . 158 | 9.5 Iteration statements . 133 | 6.5 Iteration statements . 146 |
8.7 Jump statements . 161 | 9.6 Jump statements . 135 | 6.6 Jump statements . 148 |
8.8 Declaration statement 162 | 9.7 Declaration statement 137 | 6.7 Declaration statement 150 |
8.9 Ambiguity resolution . 163 | 9.8 Ambiguity resolution . 137 | 6.8 Ambiguity resolution . 151 |
9 Declarations 165 | 10 Declarations 139 | 7 Declarations 153 |
9.1 Preamble . 165 | ||
9.2 Specifiers . 167 | 10.1 Specifiers . 140 | 7.1 Specifiers . 155 |
9.3 Declarators 184 | 10.2 Enumeration declarations 156 | 7.2 Enumeration declarations 173 |
9.4 Initializers . 201 | 10.3 Namespaces 159 | 7.3 Namespaces 177 |
9.5 Function definitions 217 | 10.4 The asm declaration . 171 | 7.4 The asm declaration . 190 |
9.6 Structured binding declarations . 223 | 10.5 Linkage specifications 171 | 7.5 Linkage specifications 190 |
9.7 Enumerations . 224 | 10.6 Attributes . 173 | 7.6 Attributes . 193 |
9.8 Namespaces 227 | 11 Declarators 180 | 8 Declarators 200 |
9.9 The using declaration 232 | 11.1 Type names 181 | 8.1 Type names 201 |
9.10 The asm declaration . 236 | 11.2 Ambiguity resolution . 182 | 8.2 Ambiguity resolution . 202 |
9.11 Linkage specifications 236 | 11.3 Meaning of declarators 183 | 8.3 Meaning of declarators 203 |
9.12 Attributes . 239 | 11.4 Function definitions 193 | 8.4 Function definitions 215 |
10 Modules 247 | 11.5 Structured binding declarations . 196 | 8.5 Decomposition declarations . 219 |
10.1 Module units and purviews . 247 | 11.6 Initializers . 197 | 8.6 Initializers . 220 |
10.2 Export declaration 248 | ||
10.3 Import declaration 251 | ||
10.4 Global module fragment . 252 | ||
10.5 Private module fragment . 254 | ||
10.6 Instantiation context . 255 | ||
10.7 Reachability 256 | ||
11 Classes 258 | 12 Classes 213 | 9 Classes 237 |
11.1 Preamble . 258 | 12.1 Class names 215 | 9.1 Class names 240 |
11.2 Properties of classes . 259 | 12.2 Class members 216 | 9.2 Class members 241 |
11.3 Class names 260 | 12.3 Unions . 226 | 9.3 Unions . 252 |
11.4 Class members 262 | 12.4 Local class declarations . 228 | 9.4 Local class declarations . 254 |
11.5 Unions . 284 | 13 Derived classes 229 | 10 Derived classes 256 |
11.6 Local class declarations . 287 | 13.1 Multiple base classes . 230 | 10.1 Multiple base classes . 257 |
11.7 Derived classes 287 | 13.2 Member name lookup 231 | 10.2 Member name lookup 259 |
11.8 Member access control 295 | 13.3 Virtual functions . 234 | 10.3 Virtual functions . 262 |
11.9 Initialization 305 | 13.4 Abstract classes 238 | 10.4 Abstract classes 267 |
11.10 Comparisons . 316 | 14 Member access control 240 | 11 Member access control 269 |
14.1 Access specifiers 241 | 11.1 Access specifiers 270 | |
14.2 Accessibility of base classes and base class members 242 | 11.2 Accessibility of base classes and base class members 272 | |
14.3 Friends . 244 | 11.3 Friends . 274 | |
14.4 Protected member access . 247 | 11.4 Protected member access . 277 | |
14.5 Access to virtual functions 247 | 11.5 Access to virtual functions 278 | |
14.6 Multiple access 248 | 11.6 Multiple access 279 | |
14.7 Nested classes . 248 | 11.7 Nested classes . 279 | |
15 Special member functions 249 | 12 Special member functions 280 | |
15.1 Constructors . 249 | 12.1 Constructors . 280 | |
15.2 Temporary objects 251 | 12.2 Temporary objects 283 | |
15.3 Conversions 254 | 12.3 Conversions 285 | |
15.4 Destructors 257 | 12.4 Destructors 288 | |
15.5 Free store . 259 | 12.5 Free store . 291 | |
15.6 Initialization 261 | 12.6 Initialization 293 | |
15.7 Construction and destruction 267 | 12.7 Construction and destruction 301 | |
15.8 Copying and moving class objects 269 | 12.8 Copying and moving class objects 303 | |
15.9 Comparisons . 276 | ||
12 Overloading 320 | 16 Overloading 278 | 13 Overloading 312 |
12.1 Preamble . 320 | 16.1 Overloadable declarations 278 | 13.1 Overloadable declarations 312 |
12.2 Overload resolution 320 | 16.2 Declaration matching . 280 | 13.2 Declaration matching . 314 |
12.3 Address of an overload set 344 | 16.3 Overload resolution 281 | 13.3 Overload resolution 315 |
12.4 Overloaded operators . 346 | 16.4 Address of overloaded function . 300 | 13.4 Address of overloaded function . 336 |
12.5 Built-in operators . 349 | 16.5 Overloaded operators . 301 | 13.5 Overloaded operators . 337 |
12.6 User-defined literals 351 | 16.6 Built-in operators . 305 | 13.6 Built-in operators . 341 |
13 Templates 353 | 17 Templates 308 | 14 Templates 345 |
13.1 Preamble . 353 | ||
13.2 Template parameters . 354 | 17.1 Template parameters . 309 | 14.1 Template parameters . 346 |
13.3 Names of template specializations 358 | 17.2 Names of template specializations 314 | 14.2 Names of template specializations 350 |
13.4 Template arguments . 361 | 17.3 Template arguments . 316 | 14.3 Template arguments . 351 |
13.5 Template constraints . 366 | 17.4 Template constraints . 321 | |
13.6 Type equivalence . 371 | 17.5 Type equivalence . 324 | 14.4 Type equivalence . 357 |
13.7 Template declarations 372 | 17.6 Template declarations 325 | 14.5 Template declarations 358 |
13.8 Name resolution 393 | 17.7 Name resolution 343 | 14.6 Name resolution 376 |
13.9 Template instantiation and specialization . 407 | 17.8 Template instantiation and specialization . 357 | 14.7 Template instantiation and specialization . 392 |
13.10 Function template specializations 419 | 17.9 Function template specializations 369 | 14.8 Function template specializations 405 |
17.10 Deduction guides . 388 | 14.9 Deduction guides . 426 | |
14 Exception handling 439 | 18 Exception handling 389 | 15 Exception handling 427 |
14.1 Preamble . 439 | ||
14.2 Throwing an exception 440 | 18.1 Throwing an exception 390 | 15.1 Throwing an exception 428 |
14.3 Constructors and destructors 441 | 18.2 Constructors and destructors 391 | 15.2 Constructors and destructors 430 |
14.4 Handling an exception 442 | 18.3 Handling an exception 392 | 15.3 Handling an exception 430 |
14.5 Exception specifications . 444 | 18.4 Exception specifications . 393 | 15.4 Exception specifications . 432 |
14.6 Special functions . 446 | 18.5 Special functions . 396 | 15.5 Special functions . 437 |
15 Preprocessing directives 448 | 19 Preprocessing directives 398 | 16 Preprocessing directives 440 |
15.1 Preamble . 448 | ||
15.2 Conditional inclusion . 450 | 19.1 Conditional inclusion . 399 | 16.1 Conditional inclusion . 441 |
15.3 Source file inclusion 452 | 19.2 Source file inclusion 401 | 16.2 Source file inclusion 443 |
15.4 Module directive . 453 | ||
15.5 Header unit importation . 454 | ||
15.6 Macro replacement 455 | 19.3 Macro replacement 402 | 16.3 Macro replacement 444 |
15.7 Line control 460 | 19.4 Line control 407 | 16.4 Line control 450 |
15.8 Error directive 461 | 19.5 Error directive 407 | 16.5 Error directive 450 |
15.9 Pragma directive . 461 | 19.6 Pragma directive . 407 | 16.6 Pragma directive . 450 |
15.10 Null directive . 461 | 19.7 Null directive . 407 | 16.7 Null directive . 450 |
15.11 Predefined macro names . 461 | 19.8 Predefined macro names . 407 | 16.8 Predefined macro names . 450 |
15.12 Pragma operator . 463 | 19.9 Pragma operator . 408 | 16.9 Pragma operator . 452 |
16 Library introduction 465 | 20 Library introduction 410 | 17 Library introduction 453 |
16.1 General 465 | 20.1 General 410 | 17.1 General 453 |
16.2 The C standard library 466 | 20.2 The C standard library 411 | 17.2 The C standard library 454 |
20.3 Definitions . 411 | 17.3 Definitions . 454 | |
17.4 Additional definitions . 457 | ||
16.3 Method of description 466 | 20.4 Method of description (Informative) 413 | 17.5 Method of description (Informative) 457 |
16.4 Library-wide requirements 473 | 20.5 Library-wide requirements 418 | 17.6 Library-wide requirements 462 |
17.7 Header synopsis . 483 | ||
17 Language support library 495 | 21 Language support library 438 | 18 Language support library 485 |
17.1 General 495 | 21.1 General 438 | 18.1 General 485 |
17.2 Common definitions . 495 | 21.2 Common definitions . 438 | 18.2 Common definitions . 485 |
17.3 Implementation properties 499 | 21.3 Implementation properties 442 | 18.3 Implementation properties 486 |
17.4 Integer types . 510 | 21.4 Integer types . 450 | 18.4 Integer types . 496 |
17.5 Startup and termination . 511 | 21.5 Start and termination 451 | 18.5 Start and termination 497 |
17.6 Dynamic memory management . 513 | 21.6 Dynamic memory management . 452 | 18.6 Dynamic memory management . 498 |
17.7 Type identification 519 | 21.7 Type identification 460 | 18.7 Type identification 506 |
17.8 Source location 521 | ||
17.9 Exception handling 523 | 21.8 Exception handling 461 | 18.8 Exception handling 509 |
17.10 Initializer lists . 527 | 21.9 Initializer lists . 465 | 18.9 Initializer lists . 513 |
17.11 Comparisons . 528 | 21.10 Comparisons . 466 | |
17.12 Coroutines . 536 | ||
17.13 Other runtime support 541 | 21.11 Other runtime support 474 | 18.10 Other runtime support 514 |
17.14 C headers . 542 | ||
18 Concepts library 545 | ||
18.1 General 545 | ||
18.2 Equality preservation . 545 | ||
18.3 Header synopsis . 546 | ||
18.4 Language-related concepts 548 | ||
18.5 Comparison concepts . 553 | ||
18.6 Object concepts 556 | ||
18.7 Callable concepts . 556 | ||
19 Diagnostics library 558 | 22 Diagnostics library 477 | 19 Diagnostics library 517 |
19.1 General 558 | 22.1 General 477 | 19.1 General 517 |
19.2 Exception classes . 558 | 22.2 Exception classes . 477 | 19.2 Exception classes . 517 |
19.3 Assertions . 561 | 22.3 Assertions . 480 | 19.3 Assertions . 521 |
19.4 Error numbers 561 | 22.4 Error numbers 481 | 19.4 Error numbers 521 |
19.5 System error support . 563 | 22.5 System error support . 482 | 19.5 System error support . 523 |
19.6 Stacktrace . 571 | ||
20 Memory management library 578 | ||
20.1 General 578 | ||
20.2 Memory 578 | ||
20.3 Smart pointers 594 | ||
20.4 Memory resources . 621 | ||
20.5 Class template scoped_allocator_adaptor 630 | ||
21 Metaprogramming library 634 | ||
21.1 General 634 | ||
21.2 Compile-time integer sequences . 634 | ||
21.3 Metaprogramming and type traits . 634 | ||
21.4 Compile-time rational arithmetic 659 | ||
22 General utilities library 663 | 23 General utilities library 492 | 20 General utilities library 534 |
22.1 General 663 | 23.1 General 492 | 20.1 General 534 |
22.2 Utility components 663 | 23.2 Utility components 492 | 20.2 Utility components 534 |
22.3 Pairs 669 | 23.3 Compile-time integer sequences . 496 | 20.3 Compile-time integer sequences . 540 |
22.4 Tuples . 674 | 23.4 Pairs 497 | 20.4 Pairs 540 |
22.5 Optional objects . 686 | 23.5 Tuples . 501 | 20.5 Tuples . 545 |
22.6 Variants 700 | 23.6 Optional objects . 510 | 20.6 Optional objects . 556 |
22.7 Storage for any type . 711 | 23.7 Variants 523 | 20.7 Variants 567 |
22.8 Expected objects . 716 | 23.8 Storage for any type . 534 | 20.8 Storage for any type . 581 |
22.9 Bitsets . 732 | 23.9 Bitsets . 539 | 20.9 Class template bitset 586 |
23.10 Memory 544 | 20.10 Memory 593 | |
23.11 Smart pointers 558 | 20.11 Smart pointers 608 | |
23.12 Memory resources . 584 | 20.12 Memory resources . 634 | |
23.13 Class template scoped_allocator_adaptor 593 | 20.13 Class template scoped_allocator_adaptor 646 | |
22.10 Function objects . 738 | 23.14 Function objects . 598 | 20.14 Function objects . 652 |
23.15 Metaprogramming and type traits . 619 | 20.15 Metaprogramming and type traits . 676 | |
23.16 Compile-time rational arithmetic 641 | 20.16 Compile-time rational arithmetic 701 | |
23.17 Time utilities . 644 | 20.17 Time utilities . 703 | |
22.11 Class type_index . 764 | 23.18 Class type_index . 736 | 20.18 Class type_index . 720 |
22.12 Execution policies . 766 | 23.19 Execution policies . 737 | 20.19 Execution policies . 722 |
22.13 Primitive numeric conversions 768 | 23.20 Primitive numeric conversions 738 | |
22.14 Formatting 770 | ||
22.15 Bit manipulation . 788 | ||
23 Strings library 793 | 24 Strings library 742 | 21 Strings library 724 |
23.1 General 793 | 24.1 General 742 | 21.1 General 724 |
23.2 Character traits 793 | 24.2 Character traits 742 | 21.2 Character traits 724 |
23.3 String view classes 798 | 24.3 String classes . 747 | 21.3 String classes . 730 |
23.4 String classes . 808 | 24.4 String view classes 778 | 21.4 String view classes 764 |
23.5 Null-terminated sequence utilities 836 | 24.5 Null-terminated sequence utilities 787 | 21.5 Null-terminated sequence utilities 774 |
see 30 | 25 Localization library 792 | 22 Localization library 779 |
25.1 General 792 | 22.1 General 779 | |
25.2 Header synopsis 792 | 22.2 Header synopsis 779 | |
25.3 Locales . 793 | 22.3 Locales . 780 | |
25.4 Standard locale categories . 800 | 22.4 Standard locale categories . 792 | |
22.5 Standard code conversion facets . 831 | ||
25.5 C library locales . 830 | 22.6 C library locales . 833 | |
24 Containers library 841 | 26 Containers library 832 | 23 Containers library 834 |
24.1 General 841 | 26.1 General 832 | 23.1 General 834 |
24.2 Requirements . 841 | 26.2 Container requirements 832 | 23.2 Container requirements 837 |
24.3 Sequence containers . 876 | 26.3 Sequence containers . 864 | 23.3 Sequence containers . 871 |
24.4 Associative containers 906 | 26.4 Associative containers 891 | 23.4 Associative containers 902 |
24.5 Unordered associative containers 925 | 26.5 Unordered associative containers 907 | 23.5 Unordered associative containers 922 |
24.6 Container adaptors 949 | 26.6 Container adaptors 928 | 23.6 Container adaptors 942 |
24.7 Views . 960 | 26.7 Views . 935 | |
25 Iterators library 967 | 27 Iterators library 942 | 24 Iterators library 952 |
25.1 General 967 | 27.1 General 942 | 24.1 General 952 |
27.2 Iterator requirements . 942 | 24.2 Iterator requirements . 952 | |
25.2 Header synopsis . 967 | 27.3 Header synopsis . 947 | 24.3 Header synopsis . 957 |
25.3 Iterator requirements . 974 | ||
25.4 Iterator primitives 995 | 27.4 Iterator primitives 950 | 24.4 Iterator primitives 960 |
25.5 Iterator adaptors . 998 | 27.5 Iterator adaptors . 952 | 24.5 Iterator adaptors . 963 |
25.6 Stream iterators 1019 | 27.6 Stream iterators 962 | 24.6 Stream iterators 977 |
25.7 Range access . 1024 | 27.7 Range access . 968 | 24.7 Range access . 983 |
26 Ranges library 1027 | 27.8 Container and view access 969 | 24.8 Container access . 985 |
26.1 General 1027 | ||
26.2 Header synopsis 1027 | ||
26.3 Range access . 1034 | ||
26.4 Range requirements 1038 | ||
26.5 Range utilities . 1041 | ||
26.6 Range factories 1049 | ||
26.7 Range adaptors 1059 | ||
27 Algorithms library 1148 | 28 Algorithms library 971 | 25 Algorithms library 986 |
27.1 General 1148 | 28.1 General 971 | 25.1 General 986 |
28.2 Header synopsis 971 | ||
27.2 Algorithms requirements . 1148 | 28.3 Algorithms requirements . 988 | |
27.3 Parallel algorithms 1150 | 28.4 Parallel algorithms 989 | 25.2 Parallel algorithms 1005 |
27.4 Header synopsis 1153 | ||
27.5 Algorithm result types 1189 | ||
27.6 Non-modifying sequence operations . 1192 | 28.5 Non-modifying sequence operations . 992 | 25.3 Non-modifying sequence operations . 1008 |
27.7 Mutating sequence operations 1205 | 28.6 Mutating sequence operations 999 | 25.4 Mutating sequence operations 1014 |
27.8 Sorting and related operations 1221 | 28.7 Sorting and related operations 1008 | 25.5 Sorting and related operations 1023 |
27.9 Header synopsis . 1247 | ||
27.10 Generalized numeric operations . 1251 | ||
27.11 Specialized algorithms 1261 | ||
27.12 C library algorithms . 1266 | 28.8 C library algorithms . 1025 | 25.6 C library algorithms . 1036 |
28 Numerics library 1268 | 29 Numerics library 1027 | 26 Numerics library 1037 |
28.1 General 1268 | 29.1 General 1027 | 26.1 General 1037 |
29.2 Definitions . 1027 | 26.2 Definitions . 1037 | |
28.2 Numeric type requirements . 1268 | 29.3 Numeric type requirements . 1027 | 26.3 Numeric type requirements . 1037 |
28.3 The floating-point environment . 1268 | 29.4 The floating-point environment . 1028 | 26.4 The floating-point environment . 1038 |
28.4 Complex numbers . 1269 | 29.5 Complex numbers . 1029 | 26.5 Complex numbers . 1039 |
28.5 Random number generation . 1277 | 29.6 Random number generation . 1037 | 26.6 Random number generation . 1049 |
28.6 Numeric arrays 1319 | 29.7 Numeric arrays 1074 | 26.7 Numeric arrays 1093 |
28.7 Mathematical functions for floating-point types 1338 | 29.8 Generalized numeric operations . 1092 | 26.8 Generalized numeric operations . 1114 |
28.8 Numbers 1353 | 29.9 Mathematical functions for floating-point types 1103 | 26.9 Mathematical functions for floating point types 1123 |
29 Time library 1355 | ||
29.1 General 1355 | ||
29.2 Header synopsis 1355 | ||
29.3 Cpp17Clock requirements 1369 | ||
29.4 Time-related traits 1370 | ||
29.5 Class template duration . 1371 | ||
29.6 Class template time_point . 1378 | ||
29.7 Clocks . 1381 | ||
29.8 The civil calendar . 1392 | ||
29.9 Class template hh_mm_ss . 1421 | ||
29.10 12/24 hours functions . 1423 | ||
29.11 Time zones 1423 | ||
29.12 Formatting 1436 | ||
29.13 Parsing . 1440 | ||
29.14 Header synopsis . 1444 | ||
30 Localization library 1446 | ||
30.1 General 1446 | ||
30.2 Header synopsis 1446 | ||
30.3 Locales . 1447 | ||
30.4 Standard locale categories . 1453 | ||
30.5 C library locales . 1485 | ||
31 Input/output library 1486 | 30 Input/output library 1119 | 27 Input/output library 1141 |
31.1 General 1486 | 30.1 General 1119 | 27.1 General 1141 |
31.2 Iostreams requirements 1486 | 30.2 Iostreams requirements 1119 | 27.2 Iostreams requirements 1142 |
31.3 Forward declarations . 1487 | 30.3 Forward declarations . 1120 | 27.3 Forward declarations . 1142 |
31.4 Standard iostream objects 1489 | 30.4 Standard iostream objects 1122 | 27.4 Standard iostream objects 1144 |
31.5 Iostreams base classes 1491 | 30.5 Iostreams base classes 1124 | 27.5 Iostreams base classes 1146 |
31.6 Stream buffers . 1506 | 30.6 Stream buffers . 1139 | 27.6 Stream buffers . 1164 |
31.7 Formatting and manipulators 1514 | 30.7 Formatting and manipulators 1146 | 27.7 Formatting and manipulators 1173 |
31.8 String-based streams . 1538 | 30.8 String-based streams . 1170 | 27.8 String-based streams . 1200 |
31.9 Span-based streams 1552 | ||
31.10 File-based streams 1559 | 30.9 File-based streams 1179 | 27.9 File-based streams 1211 |
31.11 Synchronized output streams 1571 | 30.10 Synchronized output streams 1191 | |
31.12 File systems 1576 | 30.11 File systems 1196 | 27.10 File systems 1224 |
31.13 C library files . 1621 | 30.12 C library files . 1242 | 27.11 C library files . 1275 |
32 Regular expressions library 1625 | 31 Regular expressions library 1245 | 28 Regular expressions library 1279 |
32.1 General 1625 | 31.1 General 1245 | 28.1 General 1279 |
32.2 Requirements . 1625 | 31.2 Definitions . 1245 | 28.2 Definitions . 1279 |
32.3 Header synopsis . 1627 | 31.3 Requirements . 1246 | 28.3 Requirements . 1280 |
32.4 Namespace std::regex_constants . 1631 | 31.4 Header synopsis . 1247 | 28.4 Header synopsis . 1282 |
32.5 Class regex_error 1633 | 31.5 Namespace std::regex_constants . 1253 | 28.5 Namespace std::regex_constants . 1289 |
32.6 Class template regex_traits 1634 | 31.6 Class regex_error 1256 | 28.6 Class regex_error 1292 |
32.7 Class template basic_regex . 1636 | 31.7 Class template regex_traits 1256 | 28.7 Class template regex_traits 1292 |
32.8 Class template sub_match 1640 | 31.8 Class template basic_regex . 1258 | 28.8 Class template basic_regex . 1296 |
32.9 Class template match_results . 1642 | 31.9 Class template sub_match 1263 | 28.9 Class template sub_match 1301 |
32.10 Regular expression algorithms 1647 | 31.10 Class template match_results . 1267 | 28.10 Class template match_results . 1307 |
32.11 Regular expression iterators . 1651 | 31.11 Regular expression algorithms 1272 | 28.11 Regular expression algorithms 1312 |
32.12 Modified ECMAScript regular expression grammar 1656 | 31.12 Regular expression iterators . 1276 | 28.12 Regular expression iterators . 1318 |
33 Concurrency support library 1659 | 31.13 Modified ECMAScript regular expression grammar 1281 | 28.13 Modified ECMAScript regular expression grammar 1324 |
33.1 General 1659 | 32 Atomic operations library 1284 | 29 Atomic operations library 1327 |
33.2 Requirements . 1659 | 32.1 General 1284 | 29.1 General 1327 |
33.3 Stop tokens 1662 | 32.2 Header synopsis 1284 | 29.2 Header synopsis 1327 |
33.4 Threads 1667 | 32.3 Type aliases 1287 | |
33.5 Atomic operations 1674 | 32.4 Order and consistency 1287 | 29.3 Order and consistency 1330 |
33.6 Mutual exclusion . 1707 | 32.5 Lock-free property 1289 | 29.4 Lock-free property 1332 |
33.7 Condition variables 1725 | 32.6 Class template atomic 1290 | 29.5 Atomic types . 1332 |
33.8 Semaphore . 1733 | 32.7 Non-member functions 1297 | 29.6 Operations on atomic types . 1336 |
33.9 Coordination types 1734 | 32.8 Flag type and operations . 1298 | 29.7 Flag type and operations . 1342 |
33.10 Futures 1738 | 32.9 Fences . 1299 | 29.8 Fences . 1343 |
33 Thread support library 1300 | 30 Thread support library 1345 | |
33.1 General 1300 | 30.1 General 1345 | |
33.2 Requirements . 1300 | 30.2 Requirements . 1345 | |
33.3 Threads 1302 | 30.3 Threads 1348 | |
33.4 Mutual exclusion . 1307 | 30.4 Mutual exclusion . 1353 | |
33.5 Condition variables 1325 | 30.5 Condition variables 1373 | |
33.6 Futures 1331 | 30.6 Futures 1381 | |
Annex A Grammar summary 1753 | A Grammar summary 1345 | A Grammar summary 1397 |
A.1 General 1753 | ||
A.2 Keywords . 1753 | A.1 Keywords . 1345 | A.1 Keywords . 1397 |
A.3 Lexical conventions 1753 | A.2 Lexical conventions 1345 | A.2 Lexical conventions 1397 |
A.4 Basics . 1758 | A.3 Basics . 1349 | A.3 Basic concepts . 1402 |
A.5 Expressions 1758 | A.4 Expressions 1349 | A.4 Expressions 1402 |
A.6 Statements 1762 | A.5 Statements 1353 | A.5 Statements 1406 |
A.7 Declarations 1763 | A.6 Declarations 1354 | A.6 Declarations 1407 |
A.8 Modules 1769 | A.7 Declarators 1358 | A.7 Declarators 1410 |
A.9 Classes . 1769 | A.8 Classes . 1360 | A.8 Classes . 1412 |
A.9 Derived classes 1361 | A.9 Derived classes 1413 | |
A.10 Special member functions 1361 | A.10 Special member functions 1414 | |
A.10 Overloading 1771 | A.11 Overloading 1361 | A.11 Overloading 1414 |
A.11 Templates . 1771 | A.12 Templates . 1361 | A.12 Templates . 1414 |
A.12 Exception handling 1772 | A.13 Exception handling 1363 | A.13 Exception handling 1415 |
A.13 Preprocessing directives . 1772 | A.14 Preprocessing directives . 1363 | A.14 Preprocessing directives . 1415 |
Annex B Implementation quantities 1775 | B Implementation quantities 1365 | B Implementation quantities 1417 |
Annex C Compatibility 1777 | C Compatibility 1367 | C Compatibility 1419 |
C.1 C++ and ISO C 1367 | C.1 C++ and ISO C 1419 | |
C.1 C++ and ISO C++ 2020 . 1777 | C.2 C++ and ISO C++ 2003 . 1375 | C.2 C++ and ISO C++ 2003 . 1428 |
C.2 C++ and ISO C++ 2017 . 1778 | C.3 C++ and ISO C++ 2011 . 1381 | C.3 C++ and ISO C++ 2011 . 1435 |
C.3 C++ and ISO C++ 2014 . 1785 | C.4 C++ and ISO C++ 2014 . 1382 | C.4 C++ and ISO C++ 2014 . 1437 |
C.4 C++ and ISO C++ 2011 . 1789 | C.5 C++ and ISO C++ 2017 . 1386 | |
C.5 C++ and ISO C++ 2003 . 1790 | ||
C.6 C++ and ISO C 1796 | ||
C.7 C standard library 1804 | C.6 C standard library 1387 | C.5 C standard library 1440 |
Annex D Compatibility features 1806 | D Compatibility features 1390 | D Compatibility features 1445 |
D.1 General 1806 | ||
D.2 Arithmetic conversion on enumerations . 1806 | ||
D.3 Implicit capture of *this by reference . 1806 | ||
D.4 Array comparisons 1806 | ||
D.5 Deprecated volatile types . 1806 | ||
D.6 Redeclaration of static constexpr data members 1807 | D.1 Redeclaration of static constexpr data members 1390 | D.1 Redeclaration of static constexpr data members 1445 |
D.7 Non-local use of TU-local entities 1807 | ||
D.8 Implicit declaration of copy functions 1808 | D.2 Implicit declaration of copy functions 1390 | D.2 Implicit declaration of copy functions 1445 |
D.9 template keyword before qualified names . 1808 | D.3 Deprecated exception specifications . 1390 | D.3 Dynamic exception specifications 1445 |
D.10 Requires paragraph 1808 | D.4 C++ standard library headers 1390 | D.4 C standard library headers 1445 |
D.11 Relational operators . 1808 | D.5 C standard library headers 1391 | D.5 char* streams . 1446 |
D.12 char* streams . 1808 | D.6 Relational operators . 1391 | D.6 Violating exception-specifications 1455 |
D.13 The default allocator . 1816 | D.7 char* streams . 1392 | D.7 uncaught_exception . 1455 |
D.14 Deprecated polymorphic_allocator member function 1816 | D.8 uncaught_exception . 1399 | D.8 Old adaptable function bindings . 1455 |
D.15 Deprecated type traits 1816 | D.9 Old adaptable function bindings . 1399 | D.9 The default allocator . 1460 |
D.16 Tuple 1817 | D.10 The default allocator . 1404 | D.10 Raw storage iterator . 1462 |
D.17 Variant . 1818 | D.11 Raw storage iterator . 1405 | D.11 Temporary buffers 1463 |
D.18 Deprecated iterator class template 1818 | D.12 Temporary buffers 1406 | D.12 Deprecated Type Traits . 1463 |
D.19 Deprecated move_iterator access . 1819 | D.13 Deprecated type traits 1406 | D.13 Deprecated Iterator primitives 1464 |
D.20 Deprecated shared_ptr atomic access . 1819 | D.14 Deprecated iterator primitives 1407 | |
D.21 Deprecated basic_string capacity . 1821 | D.15 Deprecated shared_ptr observers 1407 | |
D.22 Deprecated standard code conversion facets 1821 | D.16 Deprecated shared_ptr atomic access . 1407 | |
D.23 Deprecated convenience conversion interfaces . 1822 | D.17 Deprecated basic_string capacity . 1409 | |
D.24 Deprecated locale category facets 1826 | D.18 Deprecated standard code conversion facets 1410 | |
D.25 Deprecated filesystem path factory functions 1826 | D.19 Deprecated convenience conversion interfaces . 1411 | |
D.26 Deprecated atomic operations 1827 | ||
E Universal character names for identifier characters 1465 | ||
E.1 Ranges of characters allowed . 1465 | ||
E.2 Ranges of characters disallowed initially 1465 | ||
Annex E Conformance with UAX #31 1829 | ||
E.1 General 1829 | ||
E.2 R1 Default identifiers . 1829 | ||
E.3 R2 Immutable identifiers . 1829 | ||
E.4 R3 Pattern_White_Space and Pattern_Syntax characters 1829 | ||
E.5 R4 Equivalent normalized identifiers 1830 | ||
E.6 R5 Equivalent case-insensitive identifiers 1830 | ||
E.7 R6 Filtered normalized identifiers 1830 | ||
E.8 R7 Filtered case-insensitive identifiers . 1830 | ||
E.9 R8 Hashtag identifiers 1830 | ||
Bibliography 1831 | Bibliography 1415 | |
Cross references 1832 | Cross references 1416 | Cross references 1466 |
Cross references from ISO C++ 2020 1858 | Cross references from ISO C++ 2017 1436 | Index 1487 |
Index 1859 | Index 1437 | Index of grammar productions 1519 |
Index of grammar productions 1892 | Index of grammar productions 1467 | Index of library names 1523 |
Index of library headers 1898 | Index of library headers 1472 | Index of implementation-defined behavior 1570 |
Index of library names 1900 | Index of library names 1474 | |
Index of library concepts 1979 | Index of implementation-defined behavior 1534 | |
Index of implementation-defined behavior 1982 |
<この項は書きかけです。順次追記します。>
This article is not completed. I will add some words in order.
自己参照
C++ Support(0)
https://qiita.com/kaizen_nagoya/items/8720d26f762369a80514
Coding Rules(0) C Secure , MISRA and so on
https://qiita.com/kaizen_nagoya/items/400725644a8a0e90fbb0
Ethernet 記事一覧 Ethernet(0)
https://qiita.com/kaizen_nagoya/items/88d35e99f74aefc98794
Wireshark 一覧 wireshark(0)、Ethernet(48)
https://qiita.com/kaizen_nagoya/items/fbed841f61875c4731d0
線網(Wi-Fi)空中線(antenna)(0) 記事一覧(118/300目標)
https://qiita.com/kaizen_nagoya/items/5e5464ac2b24bd4cd001
OSEK OS設計の基礎 OSEK(100)
https://qiita.com/kaizen_nagoya/items/7528a22a14242d2d58a3
Error一覧(C/C++, python, bash...) Error(0)
https://qiita.com/kaizen_nagoya/items/48b6cbc8d68eae2c42b8
なぜdockerで機械学習するか 書籍・ソース一覧作成中 (目標100)
https://qiita.com/kaizen_nagoya/items/ddd12477544bf5ba85e2
言語処理100本ノックをdockerで。python覚えるのに最適。:10+12
https://qiita.com/kaizen_nagoya/items/7e7eb7c543e0c18438c4
プログラムちょい替え(0)一覧:4件
https://qiita.com/kaizen_nagoya/items/296d87ef4bfd516bc394
TOPPERSまとめ #名古屋のIoTは名古屋のOSで
https://qiita.com/kaizen_nagoya/items/9026c049cb0309b9d451
docker(0) 資料集
https://qiita.com/kaizen_nagoya/items/45699eefd62677f69c1d
Qiita-dockerお宝鑑定団
https://qiita.com/kaizen_nagoya/items/509e125263559b5aed5b
The C++ Standard Library: clang++とg++でコンパイルしてみた(まとめ):14件
https://qiita.com/kaizen_nagoya/items/9bdfaa392443d13e5759
C++17 - The Complete Guide clang++とg++でコンパイルしてみた(まとめ):4件
https://qiita.com/kaizen_nagoya/items/c000f307e642990781e1
C++N3242, 2011, ISO/IEC 14882, C++ standard(1) Example code compile list
https://qiita.com/kaizen_nagoya/items/685b5c1a2c17c1bf1318
C++N4606 Working Draft 2016, ISO/IEC 14882, C++ standard(1) Example code compile list
https://qiita.com/kaizen_nagoya/items/df5d62c35bd6ed1c3d43/
C++N4741, 2018 Standard Working Draft on ISO/IEC 14882 sample code compile list
https://qiita.com/kaizen_nagoya/items/3294c014044550896010
C++N4910:2022 Standard Working Draft on ISO/IEC 14882(0) sample code compile list
https://qiita.com/kaizen_nagoya/items/fc957ddddd402004bb91
Autosar Guidelines C++14 example code compile list(1-169)
https://qiita.com/kaizen_nagoya/items/8ccbf6675c3494d57a76
プログラマによる、プログラマのための、統計と確率のプログラミングとその後 統計と確率一覧(0)
https://qiita.com/kaizen_nagoya/items/6e9897eb641268766909
一覧の一覧( The directory of directories of mine.) Qiita(100)
https://qiita.com/kaizen_nagoya/items/7eb0e006543886138f39
<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.
文書履歴(document history)
ver. 0.01 初稿 20220618
ver. 0.02 ありがとう追記 20230620
最後までおよみいただきありがとうございました。
いいね 💚、フォローをお願いします。
Thank you very much for reading to the last sentence.
Please press the like icon 💚 and follow me for your happy life.