Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

People 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.



Until a compiler version comes out and since it was UB anyway, the compiler sundenly now behaves in a different way.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: