Most people are familiar with the "undefined" and "unspecified" behaviour notes in C++, but what about "no diagnostic required"?
I note this question and answer, dealing with ill formed programs, but not much detail on the root of "no diagnostic required" statements.
What is the general approach applied by the committee when classifying something as "no diagnostic required"?
- How bad does the error need to be for the standards committee to specify it as such?
- Are these errors of such a nature that it would be near impossible to detect, hence diagnose?
Examples of "undefined" and "unspecified" behaviour are not in short supply; short of the ODR, what practical example(s) are there for the "no diagnostic required" type errors?
See Question&Answers more detail:os