[Issue 9339] std.random.uniform!Enum should return random enum member
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 21 17:21:08 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9339
--- Comment #18 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-01-21 17:21:07 PST ---
(In reply to comment #17)
> (In reply to comment #16)
> > https://github.com/D-Programming-Language/phobos/pull/1086
>
> I have seen that of this line you have dropped both the immutable and fixed
> sized array, can you explain why a dynamic array is better than a fixed array
> in the static segment?
>
> static immutable T[EnumMembers!T.length] members = [EnumMembers!T];
It was a mistake, I've updated the code now.
--
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