<br><br><div class="gmail_quote">On Fri, Jul 23, 2010 at 4:59 PM, Sean Kelly <span dir="ltr"><<a href="mailto:sean@invisibleduck.org">sean@invisibleduck.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Why not just call rt_finalize? How an object is finalized may vary by compiler.<br>
</blockquote><div> <br>Absolutely. Don't know why I misread rt_finalize and concluded it ate dtor exceptions. I may be stupid.<br></div></div><br>On Fri, Jul 23, 2010 at 5:33 PM, Andrei Alexandrescu <span dir="ltr"><<a href="mailto:andrei@erdani.com">andrei@erdani.com</a>></span> wrote:<br>
<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">I thought __dtor() does everything needed. Seems like I was mistaken? Sean, how do I call rt_finalize?<br>
</blockquote><font color="#888888">
<br></font>I'll dare to answer for Sean:<br><br>extern (C) void rt_finalize(void* p, bool det = true);<br>...<br>rt_finalize(Scoped_store.ptr);<br><br>Works for me here.<br><br>