C++ interop; object destruction

Manu via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 22 20:53:43 PDT 2017


On 23 June 2017 at 13:45, Danni Coy via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

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

Oh yeah that's right, that's a totally different ball-game :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20170623/c749e42c/attachment.html>


More information about the Digitalmars-d mailing list