[Issue 18595] New: std.random: add unpredictableSeedOf!UIntType for non-uint unpredictableSeed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 12 09:35:27 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18595
Issue ID: 18595
Summary: std.random: add unpredictableSeedOf!UIntType for
non-uint unpredictableSeed
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/
OS: All
Status: NEW
Severity: enhancement
Priority: P3
Component: phobos
Assignee: nobody at puremagic.com
Reporter: n8sh.secondary at hotmail.com
It would be convenient if `std.random.unpredictableSeed` could be used to
produce `ulong`. To avoid any backwards compatibility issues I propose calling
the new method `unpredictableSeedOf!UIntType` and aliasing `unpredictableSeed`
to `unpredictableSeed!uint`.
--
More information about the Digitalmars-d-bugs
mailing list