Overriding of inherited class static methods?

Steven Schveighoffer schveiguy at gmail.com
Tue Jul 21 13:11:37 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.

How does it work? Overriding of a function works because you have 
a class instance. A static function has no instance.

-Steve


More information about the Digitalmars-d mailing list