3.12[defns.impl.defined]implementation-defined behavior:
behavior, for a well-formed program construct and correct data, that depends on the implementation and that each implementation documents
3.27[defns.undefined]undefined behavior
behavior for which this document imposes no requirements
3.28[defns.unspecified]unspecified behavior
behavior, for a well-formed program construct and correct data, that depends on the implementation
On notera d'ailleurs l'élégant
3.14[defns.locale.specific]locale-specific behavior
behavior that depends on local conventions of nationality, culture, and language that each implementationdocuments
# Undefined != Unspecified
Posté par serge_sans_paille (site web personnel) . En réponse au journal C++, surcharge d'opérateur, ordre d'évaluation. Évalué à 2.
Ce comportement est plutôt non-spécifié, ce qui est (heureusement) différent d'indéfini !
D'après un draft du standard pris au hasard, dans la section
3 Terms and definitions[intro.defs]On notera d'ailleurs l'élégant