Bug 12890 – std.array index based replace

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-06-11T15:14:00Z
Last change time
2014-08-17T17:41:51Z
Keywords
pull
Assigned to
nobody
Creator
safety0ff.bugz

Comments

Comment #0 by safety0ff.bugz — 2014-06-11T15:14:22Z
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.
Comment #1 by safety0ff.bugz — 2014-06-11T22:34:45Z
Comment #2 by github-bugzilla — 2014-08-17T17:41:50Z