9 Feb
2009
9 Feb
'09
3:30 p.m.
AMDG Martin Seiler wrote:
Does anybody know why this is the case?
Is there a way to make a class "polymorphic" without adding a dummy virtual function?
No there isn't.
Is this some "silly" optimization done by C++ compilers? Not generating vtables?
The compiler only generates a vtable for polymorphic types. In Christ, Steven Watanabe