Why can't static functions be virtual

John McAuley john_mcauley at bigfoot.com
Wed Jan 17 03:32:36 PST 2007


Bill Baxter Wrote:

> The problem is that static methods generally don't have offsets in the 
> vtable at all, so getting the CDerived vtable doesn't help.
> 
> --bb

Change the compiler to write the offsets.



More information about the Digitalmars-d mailing list