Are notes and examples in the core language specification of the C++ Standard non-normative?

后端 未结 3 2018
无人及你
无人及你 2020-11-30 11:10

Often on SO (and elsewhere) I have seen the claim that notes and examples in the C++ Standard are not normative - I have probably made this claim myself a few times

3条回答
  •  情话喂你
    2020-11-30 11:42

    This is generic for all ISO standard documents:

    An example integrated in the text of a document, used for giving additional information intended to assist the understanding or use of the document. In ISO standards, examples are without exception non-normative.

    A similar clause applies to notes:

    A note integrated in the text of a document, used for giving additional information intended to assist the understanding or use of the document. In ISO standards, notes are without exception non-normative.

提交回复
热议问题