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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…