RFC: scope and borrowing

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 28 11:53:25 PDT 2014


On 2014-08-28 11:16, "Marc Schütz" <schuetzm at gmx.net>" wrote:

> I'd rather introduce a special method that is called only by the GC.
> Cleaning up after an object that goes out of scope has always been the
> task of the regular destructor, it's undeterministic destruction that
> needs special treatment.

I was think about not breaking code. But introducing a new function that 
is called by the GC which also calls the regular destructor might work.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list