Mir Random [WIP]
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Thu Nov 24 01:05:34 PST 2016
On Wednesday, 23 November 2016 at 21:33:53 UTC, Jonathan M Davis
wrote:
> though I think that using the comma operator like that is
> deprecated now. Adding a helper function such as
>
> auto getNext(R)(ref R range)
> if(isInputRange!R)
> {
> range.popFront();
> return range.front;
> }
>
> would solve that problem.
It's the same behavior and suffers from the same problem of reuse
of RNG output.
More information about the Digitalmars-d
mailing list