randomSample does not accept char[]

mist none at none.none
Tue Jan 22 02:53:15 PST 2013


Short answer: unicode
Long answer is here: 
http://dlang.org/phobos/std_range.html#.hasLength , please pay 
attention to narrow string paragraph.
(failed constraint is hasLength!char[])

int is >= dchar so no issues for int.


More information about the Digitalmars-d mailing list