News for hackers. Stuff that matters.
Re:The Strict Aliasing Situation Is Pretty Bad by vc98mvco on Tuesday March 15, 2016 @09:59AM (#11289626)
That is undefined behavior for two reasons. You're interpreting an object as an object that has an incompatible type.

It also violates string aliasing because 6.5.7. only works for one way. See my other comment.

Derived can alias Base, but not vice-versa.

There are no comments on this comment yet.