Is using a union through more than one member legal in D?
div0
div0 at users.sourceforge.net
Tue May 4 14:21:21 PDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
bearophile wrote:
>
> are several other undecided things like this,
It's not undecided. It's very clear that a union is exactly equivalent
to it's C/C++ counter for the specific purposes of C/C++ interop and
other low level features like painting struct/unions over hardware
addresses.
Just cause you don't like the feature doesn't mean it's unclear, buggy
or otherwise pointless.
- --
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFL4I/RT9LetA9XoXwRAoQ4AKC0rUBiCvHQDRaKViJGojtkMnOQNgCfYrP/
+WBF+nfC6r/F0tyowI28ouQ=
=JlUP
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-learn
mailing list