On 12/11/2010 03:48 AM, Craig Black wrote:
The following code gives me this error:
algorithm.d(5159): Error: template instance SortedRange!(Range,less)
does not match template declaration SortedRange(Range,alias pred = "a <
b") if (isRandomAccessRange!(Unqual!(Range)))

Any clue as to what is going on here?

My guess is isRandomAccessRange constraint fails, because your range does not offer opIndex().

Reply via email to