On Friday, 18 September 2015 at 02:21:13 UTC, Jack Stouffer wrote:
The docs explicitly say that SwapStrategy.unstable is non-allocating, but this code (which is for finding the statistical mode of a range) will fail to compile.
Perhaps related to this issue you filed? https://issues.dlang.org/show_bug.cgi?id=15003 sort calls assumeSorted, so it's affected by the same problem.