covariant final interface functions

div0 div0 at users.sourceforge.net
Fri Mar 19 12:00:43 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steven Schveighoffer wrote:
> In C++ this is not possible, because it does not consider that you can return a pointer to
> something that is both a C and a D at the same time.

FYI, not true. C++ does support covariant returns.
Even back as far as visual studio 2003.

- --
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/

iD8DBQFLo8nbT9LetA9XoXwRAgE7AJ9oFQXQxxHcQHD56oH9MFictO9XCACdFhQ2
JzFbIj5z2qS3d2Ah5g+6H0Q=
=emr3
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list