[phobos] phobos commit, revision 1776

Max Samukha maxsamukha at gmail.com
Fri Jul 23 08:20:10 PDT 2010


On Fri, Jul 23, 2010 at 4:59 PM, Sean Kelly <sean at invisibleduck.org> wrote:

> Why not just call rt_finalize?  How an object is finalized may vary by
> compiler.
>

Absolutely. Don't know why I misread rt_finalize and concluded it ate dtor
exceptions. I may be stupid.

On Fri, Jul 23, 2010 at 5:33 PM, Andrei Alexandrescu <andrei at erdani.com>wrote:

> I thought __dtor() does everything needed. Seems like I was mistaken? Sean,
> how do I call rt_finalize?
>

I'll dare to answer for Sean:

extern (C) void rt_finalize(void* p, bool det = true);
...
rt_finalize(Scoped_store.ptr);

Works for me here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20100723/1b719bbf/attachment.html>


More information about the phobos mailing list