Overriding of inherited class static methods?
Denis F
denis.feklushkin at gmail.com
Thu Jul 23 10:28:40 UTC 2026
On Wednesday, 22 July 2026 at 14:03:53 UTC, ShadoLight wrote:
> If you then propose to add static functions to the vtable to
> allow them to be overridden - that would then in turn cause
> static functions not to be callable using the class name
> (```D.foo(..)``` above) as the vtable is associated with the
> instance of the class (which is passed via the implicit
> ```this``` pointer),
Oblivous, this should be a special compile-time "vtbl" as
proposed by monkyyy above
More information about the Digitalmars-d
mailing list