https://issues.dlang.org/show_bug.cgi?id=12890
Issue ID: 12890
Summary: std.array index based replace
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: Phobos
Assignee: [email protected]
Reporter: [email protected]
Currently there is some 3+ year old code commented out in std.array:
https://github.com/D-Programming-Language/phobos/blob/master/std/array.d#L1921
and:
https://github.com/D-Programming-Language/phobos/blob/master/std/array.d#L2076
This code is for replace with signature:
T[] replace(T, Range)(T[] subject, size_t from, size_t to, Range stuff)
Either we remove the commented out code or uncomment is and verify that it is
still correct.
--