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

Will Effective C cover the strict aliasing rule and also why the BSD sockets API seems to get away with it (e.g. (sockaddr *) &sockaddr_in)?


I don't think the book covers strict aliasing, at least not in detail.


I thought we had fixed the BSD socket aliasing a long time ago?


Isn't that legal if they are all in a union?




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

Search: