Overriding of inherited class static methods?

Denis F denis.feklushkin at gmail.com
Wed Jul 22 08:05:48 UTC 2026


On Tuesday, 21 July 2026 at 14:50:29 UTC, ShadoLight wrote:

> Since he is specifically asking about static methods, maybe the 
> OP is thinking of 'overloading'

Yes, exactly!

And, as shown above, this could work, right?

And it would be good from a code maintenance point: if a method 
could easily be converted to static or vice versa during the 
code's lifetime it will be convient, I think

(These thoughts are inspired by contemplation of static methods 
inside of `core.thread.threadbase.ThreadBase` and 
`core.thread.osthread.Thread`)


More information about the Digitalmars-d mailing list