September 07, 2013 Re: Non-covariance and overrides | ||||
---|---|---|---|---|
| ||||
On 02/09/13 17:00, Joseph Rushton Wakeling wrote:
> Is there any way to deal with this situation and simply insist that the
> subclass's function definition replaces the base class's?
I'm sure I remember reading about some way to do this -- to completely replace a base class' method rather than override it -- but I can't for the life of me think where. And now that I think about it, I can't remember if it was for D or for C++. :-(
|
Copyright © 1999-2021 by the D Language Foundation