3 ms·Well yes, that would be UB, but even if the C++ compiler had no concept of UB, it would still be wrong code.by yongjik 10mo agoWell yes, that would be UB, but even if the C++ compiler had no concept of UB, it would still be wrong code.