Re:A Guide to Undefined Behavior in C and C++ (2010)
by camel-cdr on Monday March 17, 2025 @04:52AM
(#43386383)
The C standard Annex J has a list of undefined behavior: https://port70.net/~nsz/c/c99/n1256.pre.html#J
[ Parent
| on HN ]
Re:A Guide to Undefined Behavior in C and C++ (2010)
by AlotOfReading on Monday March 17, 2025 @04:19PM
(#43392352)
Annex J is a list of explicit undefined behavior. It can't and doesn't attempt to enumerate the vastly larger universe of implicit undefined behavior.
There's also no official list for C++, just a proposal to make one that's languished in committee for the past 6ish years.