DMD can implicitly convert class pointer to the bool. Is it bug or terrible feature?
    bearophile 
    bearophileHUGS at lycos.com
       
    Tue Nov 26 01:25:54 PST 2013
    
    
  
deadalnix:
> http://i.imgur.com/H838hA9.jpg
AH ah, thank you :-) Eventually the official lint will need to 
ship inside the main D distributions.
While a lint is useful for some purposes (like verifying the D 
code doesn't have logically wrong indentations), there are some 
things that are probably better addressed in the language.
Bye,
bearophile
    
    
More information about the Digitalmars-d
mailing list