[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:10:04 PST 2013


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



--- Comment #17 from bearophile_hugs at eml.cc 2013-01-21 17:10:03 PST ---
(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];

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