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