Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
commandersaki
6y ago
0 comments
Save
Share
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)?
0 comments
3 comments · 3 top-level
top
newest
oldest
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?
j
/
k
navigate · click thread line to collapse