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.

Reply via email to