[K42-discussion] virtual destructors
Donour Sizemore
donour at cs.unm.edu
Fri Jul 7 07:17:38 EST 2006
Bryan S Rosenburg wrote:
>
> We usually just declare the virtual destructor inline in the class
> declaration. For example, in class BaseObj (lib/libc/cobj/BaseObj.H)
> we have:
>
> virtual ~BaseObj() { /* empty body */ }
>
> I don't know if that will get rid of your mysterious undefined symbol,
> but I'd give it a try.
>
> - Bryan
I tried that already, to no avail.
The interesting thing here seems to be that the all the member functions
are purely virtual, so in this case I think that the destructor should
be purely virtual as well, no?
donour
More information about the K42-discussion
mailing list