New Lagged Fib. PRNG gen and random2.d

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Aug 29 06:18:10 PDT 2013


On 29/08/13 12:43, monarch_dodra wrote:
> This is actually much trickier than it looks. Check out "Scoped".
>
> AFAIK, it is the only type which does this, and it is not copyable.

Ack.  Not fun. :-(

I also note that due to this issue, classes don't play nice with the static 
function members necessary for e.g. rndGen:
http://forum.dlang.org/thread/ojuvtluqkqazaejuqlff@forum.dlang.org

... although that might be fixed soon.


More information about the Digitalmars-d mailing list