[Issue 10930] New: std.array.replace cannot simple replace an element in array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Aug 30 12:39:27 PDT 2013
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 at puremagic.com
ReportedBy: temtaime at gmail.com
--- Comment #0 from Temtaime <temtaime at 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: -------
More information about the Digitalmars-d-bugs
mailing list