Inferring an integer literal as ubyte

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 14 05:38:24 PST 2015


They are promoted to int in arithmetic operations unless compiler 
can prove the value doesn't exceed its range.


More information about the Digitalmars-d-learn mailing list