using the full range of ubyte with iota

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 24 13:02:14 PST 2015


Dominikus Dittes Scherkl:

> Has anyone any idea how to work around this?

In Bugzilla I have proposed to solve this problem with this 
syntax taken from std.range.uniform:

iota!"[]"(ubyte.min, ubyte.max)

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list