Casting an expression to bool means testing for 0 or !=0 for	arithmetic types
    Pluto 
    pluto at planets.not
       
    Sat Jul 31 12:44:05 PDT 2010
    
    
  
This part has always bothered me. Could somebody please explain to me the
rationale behind limiting functions to one usable error code?
if(function())
~~
:Pluto
    
    
More information about the Digitalmars-d-learn
mailing list