Why private methods cant be virtual?

Daniel Kozak kozzi11 at gmail.com
Tue Sep 22 11:39:31 UTC 2020


On Tue, Sep 22, 2020 at 1:30 PM ShadoLight via Digitalmars-d-learn <
digitalmars-d-learn at puremagic.com> wrote:

>
>
> This is not really "overriding", it is more akin to "overloading"
>

No it is not  overloading, overloading is when you have more methods with
same name and differents params. It is overriding

> It is also not polymorphic
>
I did not say otherwise :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20200922/262ddc36/attachment.htm>


More information about the Digitalmars-d-learn mailing list