接続数

COUNTER379244FROM 2012/5/16

MISRA-C diary(C言語日誌)

MISRA-C >> Article details

2018/04/25

c++N3353,2011C++N3242, 2011(0) coding sample list

Tweet ThisSend to Facebook | by kaizen
-std=c++11
<1> clang++ compile
<2>               link
<3>               execute
<4> g++ compile
<5>         link
<6>         execute

                                <1><2><3><4><5><6>
C++N3353,2011.(1) 1 General 1.7 The C++ memory model   123456

C++N4242, 2011(2) 1 General 1.8 The C++ object model  123456

C++N3242, 2011(3)1 General 1.9 Program execution  123456
C++N3242,2011(3a) 1 General 1.9 Program execution C++17-> 123456


C++N3242, 2011 (4) 2 Lexical conventions 2.4Trigraph sequences

C++N3242, 2011 (5) 2 Lexical conventions 2.5 Preprocessing tokens XXXXXX

C++N3242, 2011 (6) 2 Lexical conventions 2.14 Literals 2.14.5 String literals C++03 XXXXXX C++11,17 123456

C++N3242, 2011 (7) 2.14 Literals 2.14.8 User-defined literals XXXXXX

C++N3242, 2011 (8) 3 Basic concepts 3.1 Declarations and definitions C++03 XXX456, 
C++11,17 123456 (8a) 3 Basic concepts 3.1 Declarations and definitions

C++N3242, 2011(9) 3 Basic concepts 3.2 One definition rule

C++N3242, 2011 (10)     3.3 Scope 3.3.1 Declarative regions and scopes
C++N3242, 2011 (11)          3.3.2 Point of declaration
C++N3242, 2011 (12)          3.3.6 Namespace scope
C++N3242, 2011 (13)          3.3.7 Class scope
C++N3242, 2011 (14)          3.3.9 Template parameter scope
C++N3242, 2011 (15)     3.4 Name lookup 3.4.1 Unqualified name lookup
C++N3242, 2011 (16)         3.4.2 Argument-dependent name lookup
C++N3242, 2011 (17)          3.4.3 Qualified name lookup
C++N3242, 2011 (18)                3.4.3.1 Class members
C++N3242, 2011 (19)                 3.4.3.2 Namespace
C++N3242, 2011 (20)          3.4.4 Elaborated type specifiers
C++N3242, 2011 (21)           3.4.5 Class member access
C++N3242, 2011 (22)     3.5 Program and linkage
C++N3242, 2011 (23)     3.6 Start and termination 3.6.1 Main function
C++N3242, 2011 (24)         3.6.2 Initialization of non-local variables // 5files
C++N3242, 2011 (25)     3.8 Object lifetime
C++N3242, 2011 (26)     3.9 Types
C++N3242, 2011 (27) 4 Standard conversions 4.4 Qualification conversions
C++N3242, 2011 (28) 5 Expressions 5.1Primary expressions 5.1.1General
C++N3242, 2011 (29)               5.1.2 Lambda expressions
C++N3242, 2011 (30)       5.2 Postfix expressions 5.2.1 Subscripting
C++N3242, 2011 (31)               5.2.7 Dynamic cast
C++N3242, 2011 (32)               5.2.8 Type identification
C++N3242, 2011 (33)               5.2.9 Static cast
C++N3242, 2011 (34)       5.3 Unary expressions 5.3.1 Unary operators
C++N3242, 2011 (35)               5.3.3 Sizeof
C++N3242, 2011 (36)                5.3.4 New
C++N3242, 2011 (37)         5.5 Pointer-to-member operators
C++N3242, 2011 (38)        5.9 Relational operators
C++N3242, 2011 (39)         5.10 Equality operators
C++N3242, 2011 (40)         5.17 Assignment and compound assignment operators
C++N3242, 2011 (41)         5.18 Comma operator
C++N3242, 2011 (42)         5.19 Constant expressions
C++N3242, 2011 (43) 6 Statements 6.4 Selection statements
C++N3242, 2011 (44)         6.5 Iteration statements
C++N3242, 2011 (45)                 6.5.1 The while statement
C++N3242, 2011 (46)                 6.5.3 The for statement
C++N3242, 2011 (47)                 6.5.4 The range-based for statement
C++N3242, 2011 (48)         6.6 Jump statements 6.6.3 The return statement"
C++N3242, 2011 (49)          6.7 Declaration statement
C++N3242, 2011 (50)          6.8 Ambiguity resolution
C++N3242, 2011 (51) 7 Declarations
C++N3242, 2011 (52) 7.1 Specifiers
C++N3242, 2011 (53)  7.1.1 Storage class specifiers [dcl
C++N3242, 2011 (54) 7.1.3 The typedef specifier
C++N3242, 2011 (55) 7.1.5 The constexpr specifier
C++N3242, 2011 (56) 7.1.6 Type specifiers 7.1.6.1 The cv-qualifiers
C++N3242, 2011 (57) 7.1.6 Type specifiers 7.1.6.2 Simple type specifiers
C++N3242, 2011 (58) 7.1.6.3 Elaborated type specifiers
C++N3242, 2011 (59) 7.1.6.4 auto specifier
C++N3242, 2011 (60) 7.2 Enumeration declarations
C++N3242, 2011 (61) 7.3 Namespaces 7.3.1 Namespace definition
C++N3242, 2011 (62)  7.3.1.1 Unnamed namespaces
C++N3242, 2011 (63) 7.3.1.2 Namespace member definitions
C++N3242, 2011 (64)  7.3.3 The using declaration
C++N3242, 2011 (65)  7.3.4 Using directive
C++N3242, 2011 (66)  7.5 Linkage specifications
C++N3242, 2011 (67)  7.6 Attributes 7.6.1 Attribute syntax and semantics
C++N3242, 2011 (68)  7.6.2 Alignment specifier(2files)
C++N3242, 2011 (69) 7.6.3 Noreturn attribute
C++N3242, 2011 (70) 7.6.4 Carries dependency attribute(2files)
C++N3242, 2011 (71) 8 Declarators
C++N3242, 2011 (72) 8.1 Type names
C++N3242, 2011 (73)  8.2 Ambiguity resolution
C++N3242, 2011 (74)  8.3 Meaning of declarators
C++N3242, 2011 (75)  8.3.1 Pointers
C++N3242, 2011 (76)  8.3.2 References
C++N3242, 2011 (77) 8.3.3 Pointers to members
C++N3242, 2011 (78) 8.3.4 Arrays
C++N3242, 2011 (79) 8.3.5 Functions
C++N3242, 2011 (80) 8.3.6 Default arguments
C++N3242, 2011 (81) 8.4 Function definitions 8.4.1 In general
C++N3242, 2011 (82) 8.4.2 Explicitly-defaulted functions
C++N3242, 2011 (83)  8.4.3 Deleted definitions
C++N3242, 2011 (84) 8.5 Initializers
C++N3242, 2011 (85) 8.5.1 Aggregates
C++N3242, 2011 (86) 8.5.2 Character arrays
C++N3242, 2011 (87)  8.5.3 References
C++N3242, 2011 (88)  8.5.4 List-initialization
C++N3242, 2011 (89) 9 Classes
C++N3242, 2011 (90) 9.1 Class names
C++N3242, 2011 (91) 9.2 Class members
C++N3242, 2011 (92) 9.3 Member functions
C++N3242, 2011 (93)  9.3.1 Nonstatic member functions
C++N3242, 2011 (94)  9.3.2 The this pointer
C++N3242, 2011 (95) 9.4 Static members
C++N3242, 2011 (96) 9.4.2 Static data members
C++N3242, 2011 (97)  9.5 Unions
C++N3242, 2011 (98) 9.6 Bit-fields
C++N3242, 2011 (99) 9.7 Nested class declarations
 C++N3242, 2011(100)  9.8 Local class declaration
 C++N3242, 2011(101) 9.9 Nested type names
 C++N3242, 2011(102) 10 Derived classes
 C++N3242, 2011(103) 10.1 Multiple base classes
 C++N3242, 2011(104) 10.2 Member name lookup
 C++N3242, 2011(105) 10.3 Virtual functions
 C++N3242, 2011(106) 10.4 Abstract classes
 C++N3242, 2011(107) 11 Member access control
 C++N3242, 2011(108) 11.1 Access specifiers
 C++N3242, 2011(109) 11.2 Accessibility of base classes and base class members
 C++N3242, 2011(138) 13.3.3 Best viable function 13.3.3.2 
 C++N3242, 2011(139) 13.4 Address of overloaded function
 C++N3242, 2011(140) 13.5 Overloaded operators
 C++N3242, 2011(141) 13.5.3 Assignment
 C++N3242, 2011(142) 13.5.7 Increment and decrement
 C++N3242, 2011(143) 13.5.8 User-defined literals
 C++N3242, 2011(144) 13.6 Built-in operators
 C++N3242, 2011(145) 14.1 Template parameters
 C++N3242, 2011(146) 14.1 Template parameters(全部)
 C++N3242, 2011(147) 14.2 Names of template specializations
 C++N3242, 2011(148) 14.3 Template arguments
 C++N3242, 2011(149) 14.3.1 Template type arguments
 C++N3242, 2011(150) 14.3.2 Template non-type arguments
 C++N3242, 2011(151) 14.3.3 Template template arguments
 C++N3242, 2011(152) 14.4 Type equivalence
 C++N3242, 2011(153) 14.5 Template declarations
 C++N3242, 2011(154) 14.5.1 Class templates
 C++N3242, 2011(155) 14.5.1.1 Member functions of class templates
 C++N3242, 2011(156) 14.5.1.2 Member classes of class templates
 C++N3242, 2011(157) 14.5.1.3 Static data members of class templates
 C++N3242, 2011(158) 14.5.2 Member templates
 C++N3242, 2011(159) 14.5.4 Friends
 C++N3242, 2011(160) 14.5.5 Class template partial
 C++N3242, 2011(161) 14.5.5.1 Matching of class template partial specializations
 C++N3242, 2011(162) 14.5.5.2 Partial ordering of class template specializations
 C++N3242, 2011(163) 14.5.5.3 Members of class template specializations
 C++N3242, 2011(164) 14.5.6 Function templates
 C++N3242, 2011(165) 14.5.6.1 Function template overloading(2files)
 C++N3242, 2011(165a) 14.5.6.1 Function template overloading(full)
 C++N3242, 2011(166) 14.5.6.2 Partial ordering of function templates
 C++N3242, 2011(167) 14.5.7 Aliase templates
 C++N3242, 2011(168) 14.6 Name resolution
 C++N3242, 2011(169) 14.6.1 Locally declared names
 C++N3242, 2011(170) 14.6.2 Dependent names
 C++N3242, 2011(171) 14.6.2.1 Dependent types
 C++N3242, 2011(172) 14.6.5 Friend names declared within a class template
 C++N3242, 2011(173) 14.7 Template instantiation and specialization
 C++N3242, 2011(174) 14.7.1 Implicit instantiation
 C++N3242, 2011(175) 14.7.2 Explicit instantiation
 C++N3242, 2011(176) 14.7.3 Explicit specialization
 C++N3242, 2011(177)
 C++N3242, 2011(178) 
 C++N3242, 2011(179) 
 C++N3242, 2011(180)  
 C++N3242, 2011(181)
 C++N3242, 2011(182) 
 
18.7.1 Class type_info
18.7.2 Class bad_cast
18.7.3 Class bad_typeid
18.8 Exception handling
18.8.1 Class exception
18.8.2 Class bad_exception
18.8.3 Abnormal termination 18.8.3.1,18.8.3.2,18.8.3.3,18.8.3.4
18.8.4 uncaught_exception
18.8.5 Exception propagation
18.8.6 nested_exception
18.9 Initializer lists
18.9 Initializer lists https://researchmap.jp/jocetpiru-1797580/#_1797580
19 Diagnostics library 19.2 Exception classes
19.2.1 Class logic_error
19.2.2 Class domain_error
19.2.3 Class invalid_argument
19.2.3 Class invalid_argument https://researchmap.jp/jonnwt61y-1797580/#_1797580
 19.2.4 Class length_error
19.2.5 Class out_of_range
 19.2.6 Class runtime_error
19.2.7 Class range_error
19.2.8 Class overflow_error
19.5 System error support
19.5.1 Class error_category 19.5.1.1 Class error_category overview
19.5.1 Class error_category 19.5.1.1 Class error_category overview https://researchmap.jp/joadhbkpa-1797580/#_1797580
19.5.2 Class error_code 19.5.2.1 Class error_code overview
19.5.3 Class error_condition 19.5.3.1 Class error_condition overview
 19.5.4 Comparison operators
19.5.5 System error hash support
 20.2 Utility components
 20.2.2 swap
 20.2.3 forward/move helpers
 20.2.4 Function template declval
 20.3.2 Class template pair
 20.3.3 Specialized algorithms
 20.3.4 Tuple-like access to pair
 20.4 Tuples 20.4.1 In general
 20.4.2 Class template tuple
 20.4.2.4 Tuple creation functions
 20.4.2.5 Tuple helper classes
 20.4.2.6 Element access
20.4.2.8 Tuple traits/20.4.2.9 Tuple specialized algorithms
20.5 Class template bitset
20.6 Memory 20.6.2 Header <memory> synopsis
20.6.8 Allocator traits
20.6.9 The default allocator
20.6.10 Raw storage iterator
20.6.11 Temporary buffers
20.6.11 Temporary buffers https://researchmap.jp/joo5qh76v-1797580/#_1797580
20.7.1 Class template unique_ptr
20.7.1.1 Default deleters 20.7.1.1.2 default_delete
20.7.1.1.3 default_delete<T[]>
20.7.1.2 unique_ptr for single objects


 C++N3242, 2011(183)
 C++N3242, 2011(184)
 C++N3242, 2011(185)
 C++N3242, 2011(186)
 C++N3242, 2011(187)
 C++N3242, 2011(188)
 C++N3242, 2011(189)
 C++N3242, 2011(190) 
 C++N3242, 2011(191)
 C++N3242, 2011(192)
 C++N3242, 2011(193)
 C++N3242, 2011(194)
 C++N3242, 2011(195)
 C++N3242, 2011(196)
 C++N3242, 2011(197)
 C++N3242, 2011(198)
 C++N3242, 2011(199)
 C++N3242, 2011(200) 
 C++N3242, 2011(201)
 C++N3242, 2011(202)
 C++N3242, 2011(203)
 C++N3242, 2011(204)
 C++N3242, 2011(205)
 C++N3242, 2011(206)
 C++N3242, 2011(207)
 C++N3242, 2011(208)
 C++N3242, 2011(209)
 C++N3242, 2011(210) 
 C++N3242, 2011(211)
 C++N3242, 2011(212)
 C++N3242, 2011(213)
 C++N3242, 2011(214)
 C++N3242, 2011(215)
 C++N3242, 2011(216)
 C++N3242, 2011(217)
 C++N3242, 2011(218)
 C++N3242, 2011(219)
 
11:17 | Impressed! | Voted(0) | Comment(0)