Andrei Alexandrescu <> changed:

           What    |Removed                     |Added
           Keywords|                            |bootcamp

--- Comment #6 from Andrei Alexandrescu <> ---
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.


Reply via email to