std.random.uniform for enums

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Feb 12 23:19:56 PST 2014


On 2/13/14, Anton <vizardx at gmail.com> wrote:
> It would be useful if someone added this as an example to the
> docs, so that beginners don't end up in the same situation as me
> in the future.

My mistake for not adding an example when implementing the function. Here we go:

https://github.com/D-Programming-Language/phobos/pull/1932


More information about the Digitalmars-d-learn mailing list