Is there any way to know if you program has undefined behavior in C++ (or even C), short of memorizing the entire spec?
The reason I ask is that I\'ve noticed a lot
clang tries hard to produce warnings when undefined behavior is encountered.
clang