[K42-discussion] virtual destructors
Andrew Baumann
andrewb at cse.unsw.edu.au
Fri Jul 7 08:49:27 EST 2006
On Friday 07 July 2006 06:15, Donour Sizemore wrote:
> When compiling the above example, a strange symbol is being referenced
> (_ZdlPv) but isn't defined and I can't figure out what it is or where it
> comes from. It doesn't appear to be a mangled version of anything I
> recognize. Does anybody have an idea what could be happening here?
Actually, it is something mangled:
$ c++filt _ZdlPv
operator delete(void*)
Googling for _ZdlPv is informative... apparently a call to this symbol is
emitted when you do a delete(void *), and it should be part of the standard
libraries.
Andrew [still learning something new about C++ every day]
More information about the K42-discussion
mailing list