C++ interop; object destruction

Danni Coy via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 22 20:45:41 PDT 2017


On Fri, Jun 23, 2017 at 10:52 AM, Nicholas Wilson via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

>
>>
> 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.
>

He is mapping C++ classes onto D structs IIRC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20170623/34e3ca15/attachment.html>


More information about the Digitalmars-d mailing list