GC and dtors ~ a different approach?

kris foo at bar.com
Mon Apr 10 12:15:20 PDT 2006


Bruno Medeiros wrote:
> kris 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.

Can anyone come up with some examples whereby a class needs to cleanup, 
and also /needs/ to be collected lazily? In other words, where raii or 
delete could not be applied appropriately?





More information about the Digitalmars-d mailing list