https://issues.dlang.org/show_bug.cgi?id=5249
Andrei Alexandrescu <and...@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |bootcamp --- Comment #6 from Andrei Alexandrescu <and...@erdani.com> --- This would work with the smaller rngs but not very well with the Mersenne twister which has iirc 4KB of state. We should be able to allow this to work for the appopriate rngs: auto identity(Rng)(Rng r) pure { r.popFront; return r; } Then threading generators about is trivial. I'll bootcamp this. --