using the full range of ubyte with iota

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jan 25 05:03:15 PST 2015


Dominikus Dittes Scherkl:

> Because this is useful in more situations,

Right, but it's still a cast. And in D you want to minimize the 
number of usages of casts. The proposed syntax iota!"[]" is 
cast-safe.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list