Overriding of inherited class static methods?
user1234
user1234 at 12.de
Wed Jul 22 08:43:44 UTC 2026
On Tuesday, 21 July 2026 at 10:51:30 UTC, Denis F wrote:
> Hi!
>
> Can anyone remind me why D doesn't provides overriding of
> static methods?
> Is there some fundamental problem with this?
>
> I think it would be great in itself and also intuitive.
per-class static variables or per-class static methods sound good
in first place but actually this feature requires an indirection,
i.e a lookup in a the virtual table.
More information about the Digitalmars-d
mailing list