Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
commandersaki
· 6y ago · 0 comments
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)?
Comments
[–]
AaronBallman
6y ago
I don't think the book covers strict aliasing, at least not in detail.
[–]
DougGwyn
6y ago
I thought we had fixed the BSD socket aliasing a long time ago?
[–]
saagarjha
6y ago
Isn't that legal if they are all in a union?