auto classes and finalizers
    Mike Capp 
    mike.capp at gmail.com
       
    Mon Apr 10 01:19:19 PDT 2006
    
    
  
In article <e1cq0t$1fm5$1 at digitaldaemon.com>, kris says...
>
>I thought the idea was that classes with dtors are /intended/ to be 
>explicitly cleaned up? That, implicit cleanup of resources (manana, some 
>time) was actually a negative aspect? At least, that's what Mike was 
>suggesting, and it seemed like a really good idea.
Um... can we avoid using "implicit" and "explicit" in this context? "Implicit"
to me means "without writing any code", which covers both RAII and GC cleanup
(if you're lucky). "Explicit" to me means manual calls to dtors or dispose(),
which is the worst of all possible approaches.
cheers
Mike
    
    
More information about the Digitalmars-d
mailing list