X
Xenos
I just spend about an hour tracking down a link error with GCC. I had
defined a virtual member function, but never referenced it. With this
declaration, the linker would complain that the virtual table for the class
was missing. I know that it is acceptable by the standard to declare a
non-virtual member but not define it, if it is never accessed. Is the same
true for virtual members?
Thanks,
DrX
defined a virtual member function, but never referenced it. With this
declaration, the linker would complain that the virtual table for the class
was missing. I know that it is acceptable by the standard to declare a
non-virtual member but not define it, if it is never accessed. Is the same
true for virtual members?
Thanks,
DrX