[Issue 13689] New: byCodeUnit is not sortable

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Nov 5 05:44:04 PST 2014


https://issues.dlang.org/show_bug.cgi?id=13689

          Issue ID: 13689
           Summary: byCodeUnit is not sortable
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Phobos
          Assignee: nobody at puremagic.com
          Reporter: schuetzm at gmx.net

This doesn't compile with Phobos master:

import std.algorithm;
import std.utf;
void main () {
    char [] c;
    sort (c.byCodeUnit);
}

For whatever reasons, it doesn't satisfy `isRandomAccessRange`.

--


More information about the Digitalmars-d-bugs mailing list