dxorshift: random number generators from the extended Xorshift family

ag0aep6g via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun May 15 08:46:15 PDT 2016


On 05/15/2016 05:33 PM, Joseph Rushton Wakeling wrote:
> Ah, interesting.  I think you may have discovered a bug in
> `isForwardRange`, because that test _should_ have detected that, if
> BaseRNG is a forward range, the RNG accessed via `alias this` is also
> `save`able.

For a forward range, save must return the very same type. A forwarded 
`save` returns a different type.


More information about the Digitalmars-d-announce mailing list