[Issue 1657] Virtual template methods in classes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 27 11:24:31 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1657
bugzilla at digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Comment #1 from bugzilla at digitalmars.com 2007-11-27 13:24 -------
This works this way in D for the same reason as in C++. Virtual dispatch is
done through a static table generated at compile time in the class' module. It
cannot be arbitrarilly added to by other modules. There doesn't seem to be a
reasonable way to implement this in a language with static typing.
--
More information about the Digitalmars-d-bugs
mailing list