[Issue 1657] Virtual template methods in classes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 28 12:09:43 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1657
------- Comment #2 from shro8822 at vandals.uidaho.edu 2007-11-28 14:09 -------
Maybe you can't fix it in the language, but you could in the linker:
- vtbl offsets are symbols
- build the vtbl at link time
- generate values for the offsets once you know what they should be
- go path them in for every virtual function call.
I don't know if any linker can do this but it is possible in theory. However
you would run into problems with DLLs and such.
--
More information about the Digitalmars-d-bugs
mailing list