← Back to index
|
Original Bugzilla link
Bug 5106 – makeIndex should return SortedRange
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2010-10-23T04:21:00Z
Last change time
2013-02-24T16:53:59Z
Assigned to
andrei
Creator
tomeksowi
Comments
Comment #0
by tomeksowi — 2010-10-23T04:21:28Z
It sorts, so no reason it shouldn't. SortedRange's underlying should be map!deref(index), where deref either is pointer dereferencing or index access on the unmodifiable range.
Comment #1
by github-bugzilla — 2013-02-24T16:53:59Z
Commits pushed to master at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/1a9568ce20d0fb4041bd7205483dc44636f00b1d
issue 5106
https://github.com/D-Programming-Language/phobos/commit/5bbd5ef9c2aa91b5d6edeb1b386a2b9890d8e3be
Merge pull request #1160 from andralex/5106 Fix Issue 5106 - makeIndex should return SortedRange