April 08, 2011 Stable sort in std.algorithm throws Range violation | ||||
---|---|---|---|---|
| ||||
Hi, when using the most recent D2/32bit version from github of dmd+druntime+phobos I get a Range violation from the following code: | import std.algorithm; | | void main(char[][] args) | { | sort!("a < b", SwapStrategy.stable)([1,0, 3, 2]); | } Can anybody confirm this? Shall I file a bug? best regards, Matthias Walter |
Copyright © 1999-2021 by the D Language Foundation