[Issue 1657] Virtual template methods in classes
Brad Roberts
braddr at puremagic.com
Wed Nov 28 15:44:26 PST 2007
Only for fully statically linked apps. For any application involving
.so's, they could change in nice fun arbitrary ways. There's no linker
(not even the app loader) that has visibility into every aspect of the set
of code that will be running until after its way too late to be making
vtable layout changes.
Ok, in some theory the loader could be powerful enough to freeze the
entire app and examine the vtables, see what needs to change, walk through
all memory to adjust any function pointers that need to be adjusted, etc.
But it's rather far outside the bounds of reasonable for a compiled
language. :)
Later,
Brad
More information about the Digitalmars-d-bugs
mailing list