On Friday, 23 June 2017 at 00:33:55 UTC, Manu wrote:
On 23 June 2017 at 09:32, Nicholas Wilson via Digitalmars-d < digitalmars-d@puremagic.com> wrote:

On Thursday, 22 June 2017 at 12:52:26 UTC, Manu wrote:

How do I properly implement object destruction of extern(C++) classes
(with
virtual destructors)?

[...]


Also didn't Ethan come up with a solution for this for Binderoo?


I'm not sure...

I'm pretty sure he manually constructs the vtbl and inserts the virtual function into it, so it should just be a case of calling the virtual destructor.

Have a look at this DConf 2017 talk.

Reply via email to