Trouble with lockstep

bearophile bearophileHUGS at lycos.com
Mon Jun 24 07:33:47 PDT 2013


Craig Dillabaugh:

>    foreach( idx, count; lockstep( iota!ubyte(ubyte.min,
> ubyte.max), bins ) )

Also note that doesn't iterate the whole ubyte range. Maybe we 
need another iota range for that, with a different name or with 
an optional template argument string like "[]" as 
std.random.uniform. Opinions welcome.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list