3 ms·
Oh, no argument here. All I'm saying is that the behavior resulting is determined by the current state of the machine and the compiler used. Why does the disti
by shadowgovt 3y ago
Oh, no argument here. All I'm saying is that the behavior resulting is determined by the current state of the machine and the compiler used.
Why does the distinction matter? Because I don't believe any program beyond minimal complexity written in C++ is actually free of undefined behavior. Therefore, being able to ask questions like " What configuration of compiler built this?" is meaningful for debugging code.
Because undefined behavior is so easily reached in the language's specification, the abstraction is broken from the start and one must know implementation details of the compilers used to understand how the code behaves.