do D support something like C# 4.0 co/contra-variance?

Olivier Pisano olivier.pisano at laposte.net
Thu Sep 2 11:24:17 PDT 2010


Le 02/09/2010 13:38, bearophile a écrit :
> dennis:
>> http://blog.t-l-k.com/dot-net/2009/c-sharp-4-covariance-and-contravariance
>
> I think D2 doesn't support those things yes. But they are useful and may be added to D3.
>
> Bye,
> bearophile

I was sure D did support covariance for the return types of overriden 
methods.

Cheers,

Olivier


More information about the Digitalmars-d mailing list