[Issue 10434] Don't use Random as template parameter name in std.random (or anywhere else)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 30 03:02:59 PDT 2013


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



--- Comment #4 from Joseph Rushton Wakeling <joseph.wakeling at webdrake.net> 2013-08-30 03:02:56 PDT ---
(In reply to comment #2)
> +1 for RandGen, self-documenting and doesn't clash with existing symbol. Rng is
> a bit obscure for those not in the know.

If you look at the pull which has just landed, I settled on UniformRNG in order
to match the isUniformRNG template, with RandomGen as a secondary choice.  I
decided this was preferable since the uniformity of the generator _does_
matter.

-- 
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