forcing "@nogc" on class destructors
    Daniel Murphy via Digitalmars-d 
    digitalmars-d at puremagic.com
       
    Thu Jan 22 19:40:18 PST 2015
    
    
  
"Ola Fosheim Grøstad" " wrote in message 
news:ncuttyurxztvrziuynxj at forum.dlang.org...
> Runtime errors that could have been a compile time error should always be 
> caught at compile time. Spurious runtime errors are just as bad as null 
> pointer accesses.
Allocating in a dtor shouldn't be a runtime or compile-time error, it should 
just work. 
    
    
More information about the Digitalmars-d
mailing list