How to use destroy and free.
    Alain De Vos 
    devosalain at ymail.com
       
    Mon Apr 25 13:25:59 UTC 2022
    
    
  
> GC-allocated objects are run (when they are run). If you need 
> deterministic destruction e.g. for resource management, do not 
> use GC.
Descend destroy and free functions should return something.
"destroy" should return if the destructor was called successfully.
"free" should return the exact number of bytes freed on the heap.
Probably this is not implemented in the library because it is 
probably "buggy".
    
    
More information about the Digitalmars-d-learn
mailing list