Deterministic resource freeing - delete deprecation (again)
Alexander
aldem+dmars at nk7.net
Wed Apr 27 07:32:57 PDT 2011
On 27.04.2011 16:25, Steven Schveighoffer wrote:
>> You mean like "dispose" in Tango. That's called when "delete" or "scope" is used.
>
> Yes, that is exactly what I was thinking of (couldn't think of the name!). It's actually used I think in Java and C# as well.
Well, not exactly like this in C# - Dispose() is intended to free any unmanaged resources, which are referenced by object, but not the memory allocated to object itself.
/Alexander
More information about the Digitalmars-d
mailing list