function overrides but is not covariant

Namespace rswhite4 at googlemail.com
Mon Apr 29 02:22:59 PDT 2013


> Not surprising to me at all. Why would ref be covariant with 
> non-ref?

I do not understand the error fully. Why I cannot overload the 
method in the class with non-ref?


More information about the Digitalmars-d-learn mailing list