GC vs Resource management.

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Sun May 4 04:29:35 PDT 2014


On 2014-05-03 14:28, monnoroch wrote:

> That leaves only to determine, what objects are scoped. Well, that is
> obviously stack-allocated structs, gc-allocated scope classes and
> gc-allocated structs in scope classes.

Will the destructor of GC allocated scope classes be called when its 
surrounding scope exists?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list