1st draft of complete class-based std.random successor

Philippe Sigaud philippe.sigaud at gmail.com
Sun Mar 23 05:46:26 PDT 2014


On Sun, Mar 23, 2014 at 11:17 AM, bearophile <bearophileHUGS at lycos.com> wrote:
>> Joseph Rushton Wakeling:
>>
>>>    int r = data[uniform!"[)"(0, data.length)];
>
>
> D also accepts:
>
> immutable r = data[uniform!"[)"(0, $)];

Really? The '$' part works?


More information about the Digitalmars-d-announce mailing list