
22 Sep
2010
22 Sep
'10
6 p.m.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 22 September 2010, Larry Evans wrote:
Strict aliasing is an assumption, made by the C (or C++) compiler, that dereferencing pointers to objects of different types will never refer to the same memory location (i.e. alias each other.)
Could you point to the variant code violating this rule?
How about if you re-assign a variant to a different type. Won't it re-use the same in-place storage for a different type? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkyaRDQACgkQ5vihyNWuA4VHuQCfeQbarKIF3O0+gTkyXlj6V5eT Ev8AoJTL7D1oeV3E3uejqnQdSMgCY4Ak =hugK -----END PGP SIGNATURE-----