[Issue 15401] New: partialSort should accept two ranges
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Dec 3 07:17:52 PST 2015
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 at puremagic.com
Reporter: andrei at 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.
--
More information about the Digitalmars-d-bugs
mailing list