Please don't reprint this article; please don't re-publish in any form; please delete it within 24 hours of downloading this article; it is forbidden to use this article for commercial purposes.
1 General [intro] 1.4 Implementation compliance [intro.compliance] 1 [Review] 1.4 Introduction [introduction to achieve compliance. Compliance] The set of diagnosable rules consist of all syntactic and semantic rules in this International Standard except for those rules containing an Explicit Notation That "No Diagnostic Is Required" ORHEFINED BEHAVIOR. "The collection of diagnostic rules includes this international standard in addition to being explicitly marked as" no need to diagnose "or described as" undefined behavior " All grammar and semantic rules outside the rules. Although this International Standard states only requirements on C implementations, those requirements are often easier to understand if they are phrased as requirements on programs, parts of programs, or execution of programs Such requirements have the following meaning.:
If a program contains no violations of the rules in this International Standard, a conforming implementation shall, within its resource limits, accept and correctly execute3) that program. If a program contains a violation of any diagnosable rule, a conforming implementation shall issue a least one diagnostic message, except that If a program contains a violation of a rule for which no diagnostic is required, this international standard places no requirement on implementations with respect to that program. specifications implemented in C Although this international standard is only stated, but The specifications of them are often more easily understood as the specifications of procedures, program fragments, and programs. These specifications require the following meaning;
If the program does not violate the rules of this international standard, the standard implementation should be accepted and correctly implemented under its resource constraints. If the program violates any diagnostic rules, the standard implementation should give at least one diagnostic message unless the program violates the rules that do not need to be diagnosed, the international standard will not implement any specifications for this program. For classes and class templates, the library clauses specify partial definitions. Private members (clause 11) are not specified, but each implementation shall supply them to complete the definitions according to the description in the library clauses. For classes and class templates, libraries provisions Specifies their partially definition. Although there is no specific designation, each implementation should provide a private member (chapter 11) to complete the definition according to the description of the standard library terms. For functions, function templates, objects, and values, the library clauses specify declarations. Implementations shall supply definitions consistent with the descriptions in the library clauses. For functions, function templates, objects and values, the library provisions of their declarations. Implementation should provide a definition that is consistent with the description of the library strip. The names defined in the library have namespace scope (7.3). A C translation unit (2.1) obtains access to these names. Defined in the library name has a namespace scope (7.3) by including the appropriate standard library header (16.2) . The C translation unit (2.1) can access the ability to access these names by including the corresponding standard library head (16.2). The templates, classes, functions, and objects in the library have external linkage (3.5). The implementation provides definitions for standard library entities, as necessary, while combining translation units to form a complete C program (2.1). The standard library templates , Classes, functions, and objects have external connectivity (3.5). When the translation unit is merged into a complete C program (2.1), the implementation should be defined as needed.