August 30, 2013 [Issue 10930] New: std.array.replace cannot simple replace an element in array | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10930 Summary: std.array.replace cannot simple replace an element in array Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: temtaime@gmail.com --- Comment #0 from Temtaime <temtaime@gmail.com> 2013-08-30 12:39:26 PDT --- That should be accepted: auto arr = [ 1, 1, 1 ]; arr = replace(arr, 1, 2); writeln(arr); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation