Extending "scope"

Bruce Adams tortoise_74 at yeah.who.co.uk
Sun Apr 6 03:48:10 PDT 2008


On Sun, 06 Apr 2008 09:36:15 +0100, Brian White <bcwhite at pobox.com> wrote:

> I wrote something about "GC vs delete", but after thinking about it some  
> more, how about this...
>
> There seems to be a fundamental conflict between RAII and the garbage  
> collector.  You can assign a new object to a "scope" variable to cause  
> it to get destructed without waiting for the GC, but what about objects  
> within that?  For example:
>
You want a transitive delete. :)



More information about the Digitalmars-d mailing list