When is array-to-array cast legal, and what does actually happen?
div0
div0 at users.sourceforge.net
Tue Feb 23 16:25:30 PST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ali Çehreli wrote:
> Daniel Keep wrote:
>>> ...
> <snip>
Well I forget the details, but it's been pointed out before
that D's cast is fundamentally broken.
You get one cast operator that hides the full set of c++
static, dynamic, const & reinterpret casts.
Which one actually happens is a mystery.
Not ideal by any means and really should be addressed before
D2 is called final. Not going to happen though.
- --
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/
iD8DBQFLhHH6T9LetA9XoXwRAjavAJ9LV2XmRQ67GdC7qv03E9DMyaFPVACgp+JZ
w4qYBuMc++WUWJPkc1ZR93c=
=F1Qb
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-learn
mailing list