On Tuesday, 3 July 2012 at 14:30:38 UTC, Andrei Alexandrescu
wrote:
On 7/3/12 10:01 AM, Jesse Phillips wrote:
On Monday, 2 July 2012 at 14:05:31 UTC, Bernard Helyer wrote:
My main point is that it doesn't work. Even the given example
does not
work. It should either be fixed or ditched.
It does work, it just requires a sorted range instead of an
arbitrary
range.
std.range.assumeSorted()
std.algorithm.sort()
take your pick for getting a sorted range.
We need to fix the example.
Andrei
The example uses assumeSorted, so if you could let the rest
of the world know how to use it, that'd be great. ;P