On Tuesday, 26 April 2016 at 11:09:42 UTC, Seb wrote:
Btw if you do random generation at the moment, you should always be aware that it's super-easy to do an implicit copy if you pass around the rndGen
So should I pass it by ref or const ref then?
Nordlöw via Digitalmars-d-learn Tue, 26 Apr 2016 10:41:51 -0700
On Tuesday, 26 April 2016 at 11:09:42 UTC, Seb wrote:
Btw if you do random generation at the moment, you should always be aware that it's super-easy to do an implicit copy if you pass around the rndGen
So should I pass it by ref or const ref then?