[Issue 12890] New: std.array index based replace
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jun 11 08:14:22 PDT 2014
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: nobody at puremagic.com
Reporter: safety0ff.bugz at gmail.com
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.
--
More information about the Digitalmars-d-bugs
mailing list