New Lagged Fib. PRNG gen and random2.d
monarch_dodra
monarchdodra at gmail.com
Wed Aug 28 23:45:55 PDT 2013
On Thursday, 29 August 2013 at 00:04:08 UTC, Joseph Rushton
Wakeling wrote:
> On Wednesday, 28 August 2013 at 18:43:53 UTC, monarch_dodra
> wrote:
>> With that said, even with classes, we'd need an easy way to
>> create the classes from the payloads.
>
> Don't understand. With classes you don't need payloads. Just
> converting existing RNG structs to final classes is sufficient.
Yes, that'd be the idea, but I mean that if you do that, you
close the door to giving straight access to a
struct-implementation.
Also, placing a value-type payload in a class is pretty trivial.
More information about the Digitalmars-d
mailing list