[Issue 16996] std.algorithm.remove with SwapStrategy.unstable removes more entries
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Dec 20 14:34:06 PST 2016
https://issues.dlang.org/show_bug.cgi?id=16996
safety0ff.bugz <safety0ff.bugz at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |normal
--- Comment #3 from safety0ff.bugz <safety0ff.bugz at gmail.com> ---
Right, it looks like a bug. It should be [0,5,4] or [0,4,5], the former being
what the documentation suggests the result will be.
--
More information about the Digitalmars-d-bugs
mailing list