C标准的核心语言规范中的注释和示例是非规范性的?

通常在SO(和其他地方),我看到了C标准中的笔记和例子不是规范性的说法 – 我可能已经自己这样做了几次。

然而,在C标准的核心语言规范中(目前我正在看n3979 C14工作草案),我无法找到这个事实的证据。

我最接近的报价是在第17.5.1.2/2段:

Paragraphs labeled “Note(s):” or “Example(s):” are informative, other paragraphs are normative.

但是,除非我认为该段仅适用于图书馆部分(即第18至30条和附件D)。

所以问题:C标准中的所有注释和例子都不规范?脚注怎么样?

参见ISO/IEC Directives Part 2的§6.5。注释,示例和脚注都被视为“信息”,而不是“规范性”。

备注和示例:

Notes and examples integrated in the text of a document shall only be used for giving
additional information intended to assist the understanding or use of the document. They shall
not contain requirements (“shall”; see 3.3.1 and Table H.1) or any information considered
indispensable for the use of the document, e.g. instructions (imperative; see Table H.1),
recommendations (“should”; see 3.3.2 and Table H.2) or permission (“may”; see Table H.3).
Notes may be written as a statement of fact.

脚注:

Footnotes to the text give additional information; their use shall be kept to a minimum. As is
the case for notes and examples integrated in the text (see 6.5.1) footnotes shall not contain
requirements or any information considered indispensable for the use of the document.

但是请注意,图表和脚注可能包含要求。

翻译自:https://stackoverflow.com/questions/21364398/are-notes-and-examples-in-the-core-language-specification-of-the-c-standard-no

转载注明原文:C标准的核心语言规范中的注释和示例是非规范性的?