Non-covariance and overrides

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sat Sep 7 05:08:45 PDT 2013


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++. :-(



More information about the Digitalmars-d-learn mailing list