using the full range of ubyte with iota

Vlad Levenfeld via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 24 22:14:06 PST 2015


> you can always write your own iota replacement, which will do 
> "[]" and
> use ubytes, for example. writing that things is way easier than 
> in C++.
> something like "myIota!ubyte(0, 255)", for example -- to make 
> it visible
> that it emits ubytes.

I think closedInterval!T (T left, T right) would be a nice name 
for it.

What's this about !`[]` and std.range.uniform?? It's not in the 
documentation.


More information about the Digitalmars-d-learn mailing list