override(T)
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Sep 24 07:30:48 PDT 2009
Steven Schveighoffer wrote:
> On Thu, 24 Sep 2009 09:30:46 -0400, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>
>> Walter and I discussed last night about contravariance and all and
>> could not find a compelling argument in favor of implementing
>> contravariant arguments right now. The feature is nontrivial to
>> implement, potentially surprising, and has a number of odd corner cases.
>
> I find the general contravariance not to be that compelling, but for
> sure being able to implicitly cast delegates makes a lot of sense, since
> you take the overriding/overloading issues out of the equation.
>
> -Steve
I agree.
Andrei
More information about the Digitalmars-d
mailing list