3 ms·
>No. Please stop. You will pay the price in bugs later. indeed. It is called UB because that's basically code for compilers devs to say "welp don't have to wor
by johnnyanmac 2y ago
>No. Please stop. You will pay the price in bugs later.
indeed. It is called UB because that's basically code for compilers devs to say "welp don't have to worry about changing this" while updating the compiler. What can work in, say, GCC 12 may not work in GCC 14. Or even GCC 12.0.2 if you're unlucky enough. Or you suddenly need to port the code to another platform for clang/MSVC and are probably screwed.