On Fri, Jul 23, 2010 at 4:59 PM, Sean Kelly <[email protected]> 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 <[email protected]>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.
_______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
