Joseph Rushton Wakeling:
   int r = data[uniform!"[)"(0, data.length)];


D also accepts:

immutable r = data[uniform!"[)"(0, $)];

Bye,
bearophile

Reply via email to