Preventing implicit conversion
    Dominikus Dittes Scherkl via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Thu Nov  5 02:07:29 PST 2015
    
    
  
And I want to have small number litterals automatically choosing 
the smallest fitting type.
If I write
ubyte b = 1u;
auto c = b + 1u;
I expect the 1u to be of type ubyte - and also c.
    
    
More information about the Digitalmars-d-learn
mailing list