do D support something like C# 4.0 co/contra-variance?
Michal Minich
michal.minich at gmail.com
Thu Sep 2 07:03:28 PDT 2010
On Thu, 02 Sep 2010 07:38:24 -0400, bearophile wrote:
> 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 just found...
http://digitalmars.com/d/2.0/phobos/std_traits.html#isCovariantWith
More information about the Digitalmars-d
mailing list