On Tue, 24 Jan 2012 12:35:42 +0100, Daniel Murphy <[email protected]> wrote:

On Tue, Jan 24, 2012 at 5:56 PM, Walter Bright <[email protected]> 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.

I case it might help you, I wrote some code to wire up C++ destructors with D's finalizer.
https://gist.github.com/1391734
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to