[Issue 12029] Swap on std.container.Array?
https://issues.dlang.org/show_bug.cgi?id=12029 Basile-z changed: What|Removed |Added CC|b2.t...@gmx.com | --
[Issue 12029] Swap on std.container.Array?
https://issues.dlang.org/show_bug.cgi?id=12029 bb.t...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bb.t...@gmx.com Resolution|--- |FIXED --- Comment #3 from bb.t...@gmx.com --- swap() now works on Array: ___ void main() { import std.algorithm; import std.container: Array; auto arr = Array!int([1, 2]); swap(arr[0], arr[1]); assert(arr[0] == 2 && arr[1] == 1); }___ --
[Issue 12029] Swap on std.container.Array?
https://issues.dlang.org/show_bug.cgi?id=12029 Justin Whear jus...@economicmodeling.com changed: What|Removed |Added CC||jus...@economicmodeling.com --- Comment #2 from Justin Whear jus...@economicmodeling.com --- This still fails in git head. --
[Issue 12029] Swap on std.container.Array?
https://d.puremagic.com/issues/show_bug.cgi?id=12029 Peter Alexander peter.alexander...@gmail.com changed: What|Removed |Added CC||peter.alexander...@gmail.co ||m --- Comment #1 from Peter Alexander peter.alexander...@gmail.com 2014-01-29 11:57:12 PST --- They should be swappable once the containers are unsealed. https://github.com/D-Programming-Language/phobos/pull/1857 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---