3 ms·
Speaking from experience, because MSVC (and also ICC) is far more sane with how it interpets undefined behaviour.
by userbinator 5y ago
Speaking from experience, because MSVC (and also ICC) is far more sane with how it interpets undefined behaviour.
- xvilka 5y agoRelying on UB in programs is a recipe for disaster. It should be avoided rather than workarounded by compiler. There's UBSAN, various static analysis tools to fish out UB, developers should use them instead.