1st draft of complete class-based std.random successor
bearophile
bearophileHUGS at lycos.com
Sun Mar 23 03:17:43 PDT 2014
> Joseph Rushton Wakeling:
>> int r = data[uniform!"[)"(0, data.length)];
D also accepts:
immutable r = data[uniform!"[)"(0, $)];
Bye,
bearophile
More information about the Digitalmars-d-announce
mailing list