std.random.uniform for enums

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

On 2/13/14, Anton <vizardx at> 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:

More information about the Digitalmars-d-learn mailing list