Bug 21068 – Cannot sort a RandomAccessFinite range

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-07-23T21:14:00Z
Last change time
2024-12-01T16:37:20Z
Assigned to
No Owner
Creator
Andrei Alexandrescu
Moved to GitHub: phobos#9803 →

Comments

Comment #0 by andrei — 2020-07-23T21:14:00Z
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.
Comment #1 by robert.schadek — 2024-12-01T16:37:20Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9803 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB