www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21068] New: Cannot sort a RandomAccessFinite range


          Issue ID: 21068
           Summary: Cannot sort a RandomAccessFinite range
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: andrei erdani.com

Per https://run.dlang.io/is/An0kxM, it looks like sort does not work with a
RandomAccessFinite range. It should because the range offers moveAt, which
should be enough for moving elements around.

Jul 23 2020