On Saturday, 15 November 2014 at 14:34:07 UTC, Nordlöw wrote:
What's wrong with my isArray-overload of sorted?
I solved it by replacing R s = r.dup; with auto s = r.dup;As a follow up I know wonder if it is ok for isArray-overload of sorted() to have return type ubyte[] if input is a string?
I wonder because x.array.sort has type dchar[] when x is a string.