[dmd-internals] Destructors are not virutal

Daniel Murphy yebblies at gmail.com
Tue Jan 24 03:35:42 PST 2012


On Tue, Jan 24, 2012 at 5:56 PM, Walter Bright <walter at digitalmars.com> wrote:
>
> Because it's handled specially - not through the vtbl[].

Hmmm ok.  Is the an optimization or is it essential?  I don't suppose
it's documented anywhere?

I'm trying to improve the c++ interop and this wasn't as I expected.
I can always special case it for c++ classes.


More information about the dmd-internals mailing list