though I think that using the comma operator like that is deprecated now. Adding a helper function such asauto 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.