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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Temtaime <[email protected]> 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: -------