[Issue 5441] std.random.rndGen always returns Random.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 3 07:38:05 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=5441


Joseph Rushton Wakeling <joseph.wakeling at webdrake.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joseph.wakeling at webdrake.ne
                   |                            |t


--- Comment #3 from Joseph Rushton Wakeling <joseph.wakeling at webdrake.net> 2013-05-03 07:38:00 PDT ---
rndGen _should_ always return Random, because rndGen is intended to provide a
thread-safe instance of the default RNG type (which _is_ Random).

The problems identified here aren't with rndGen but with code that does not
take into account RNG instances other than rndGen.  So, I suggest this bug be
marked as invalid.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list