[Proposal] Weak reference implementation for D

Denis Shelomovskij verylonglogin.reg at gmail.com
Sun Oct 13 10:06:44 PDT 2013


13.10.2013 12:36, Benjamin Thaut пишет:
> Will rt_attachDisposeEvent also work with std.allocator? Or does it rely
> on the GC running?

What exactly do you mean? `rt_attachDisposeEvent` adds delegate to 
`object.__monitor.devt` array which is called from `rt_finalize2 -> 
_d_monitordelete -> _d_monitor_devt`.

-- 
Денис В. Шеломовский
Denis V. Shelomovskij


More information about the Digitalmars-d mailing list