GC and dtors ~ a different approach?

Regan Heath regan at netwin.co.nz
Mon Apr 10 16:25:31 PDT 2006


On Mon, 10 Apr 2006 13:33:56 +0100, Bruno Medeiros  
<brunodomedeirosATgmail at SPAM.com> wrote:
> All of those pros you mention are valid. But you'd have one serious con:
> * Any class which required cleanup would have to be manually memory  
> managed.

Not memory managed, surely.. the memory will still be collected by the GC,  
all that changes is that the dtor is not invoked when that happens.. or at  
least that is how I understood Kris's proposal.

Regan




More information about the Digitalmars-d mailing list