Inferring an integer literal as ubyte
Shriramana Sharma via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Dec 14 08:37:57 PST 2015
Adam D. Ruppe wrote:
> but yours won't because to!ubyte(spec, 6) might just be > 240.
Thanks for that explanation. That's clear now.
Shriramana Sharma, Penguin #395953
More information about the Digitalmars-d-learn