On Thu, 24 May 2012 11:04:06 -0400, Jacob Carlborg <d...@me.com> wrote:

On 2012-05-24 16:53, Steven Schveighoffer wrote:

What I think we need is a dispose pattern for objects, like Tango has.

Object.dispose in Tango is called on scope exit if the object is variable is declared "scope". "scope" is deprecated in D2.


We can easily hook that in object.clear, which any scoped library implementation should be calling.

-Steve

Reply via email to