Type Punning in C and C++(blog.pwkf.org)
34 points by ingve | 16 comments
A blog post explaining type punning in C and C++, covering which techniques are defined behavior versus undefined behavior and why casts can break under optimization.
1 story on the front page, newest first. Scroll down to watch the site change over time.
34 points by ingve | 16 comments
A blog post explaining type punning in C and C++, covering which techniques are defined behavior versus undefined behavior and why casts can break under optimization.