Overriding of inherited class static methods?
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Thu Jul 23 20:24:41 UTC 2026
On 24/07/2026 7:33 AM, monkyyy wrote:
> it seems to me, that if a class has a |static int foo(int)| in its
> interface, it could have an "innate" |int function(int)[TypeInfo]|
> vtable that glues it together
>
> the point of showing code "that works", is to prove its possible, of
> course the compiler devs would look at that as see where to take short
> cuts inside the compiler and make a better api then doing it manually
Its called a symbol table, D doesn't make use of them like older
languages do.
However symbol lookup can handle this just fine, no need for new
infrastructure.
More information about the Digitalmars-d
mailing list