www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15401] New: partialSort should accept two ranges

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

          Issue ID: 15401
           Summary: partialSort should accept two ranges
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: andrei erdani.com

Currently http://dlang.org/library/std/algorithm/sorting/partial_sort.html
takes a range and an index. That is unnecessarily restricted. One overload of
partialSort should be added that accepts TWO ranges and performs the operations
considering the first one the left side, and the second one the right side of
the same range.

--
Dec 03 2015