1st draft of complete class-based std.random successor
Chris Williams
yoreanon-chrisw at yahoo.co.jp
Thu Mar 20 11:43:48 PDT 2014
On Thursday, 20 March 2014 at 08:22:37 UTC, monarch_dodra wrote:
> The issue isn't class vs struct, but rather "value semantic" vs
> "reference semantic" (classes are always ref, but structs can
> be either).
That's only completely true if structs are referred to by
pointer. ref parameters/returns aren't quite sufficient to keep a
struct acting as a reference for all purposes.
But good example. I'll have to consider that when I port the
cryptographic prngs.
More information about the Digitalmars-d-announce
mailing list