3 ms·
Upon which some people may rely...
by xbar 2y ago
Upon which some people may rely...
- int_19h 2y agoPeople will only rely on UB when it is well defined by a particular implementation, either explicitly or because of a long history of past use. E.g. using unions for type punning in gcc, or allowing methods to be called on null pointers in MSVC. But there's nothing like that here.
- pjmlp 2y agoUntil a compiler version comes out and since it was UB anyway, the compiler sundenly now behaves in a different way.