@safe, pure and nothrow at the beginning of a module
    Philippe Sigaud via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Fri Aug 15 09:54:53 PDT 2014
    
    
  
So I'm trying to use @safe, pure and nothrow.
If I understand correctly Adam Ruppe's Cookbook, by putting
@safe:
pure:
nothrow:
at the beginning of a module, I distribute it on all definitions, 
right? Even methods, inner classes, and so on?
Because I did just that on half a dozen of modules and the 
compiler did not complain. Does that mean my code is clean(?) or 
that what I did has no effect?
    
    
More information about the Digitalmars-d-learn
mailing list