<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 23 June 2017 at 13:45, Danni Coy via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><span class=""><br><div class="gmail_quote">On Fri, Jun 23, 2017 at 10:52 AM, Nicholas Wilson via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote>
<br>
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.<br>
<br>
Have a look at this DConf 2017 talk.<br>
</blockquote></div><br></span>He is mapping C++ classes onto D structs IIRC.</div></div>
</blockquote></div><br></div><div class="gmail_extra">Oh yeah that's right, that's a totally different ball-game :)</div></div>