algorithm.d(7025): Error: r[i2] is not an lvalue algorithm.d(7026): Error: r[i1] is not an lvalue algorithm.d(6954): Error: template instance std.algorithm.swapAt!(Result) error instantiating algorithm.d(7038): instantiated from here: getPivot!(binaryFun,Result) algorithm.d(6787): instantiated from here: sortImpl!(binaryFun,cast(SwapStrategy)0,Result) test.d(11): instantiated from here: sort!("a < b",cast(SwapStrategy)0,Result) algorithm.d(7038): Error: template instance std.algorithm.getPivot!(binaryFun,Result) error instantiating algorithm.d(6787): instantiated from here: sortImpl!(binaryFun,cast(SwapStrategy)0,Result) test.d(11): instantiated from here: sort!("a < b",cast(SwapStrategy)0,Result) algorithm.d(6992): Error: r[j] is not an lvalue algorithm.d(6995): Error: r[j] is not an lvalue algorithm.d(7110): Error: template instance std.algorithm.optimisticInsertionSort!(binaryFun,Result) error instantiating algorithm.d(6787): instantiated from here: sortImpl!(binaryFun,cast(SwapStrategy)0,Result) test.d(11): instantiated from here: sort!("a < b",cast(SwapStrategy)0,Result) algorithm.d(6787): Error: template instance std.algorithm.sortImpl!(binaryFun,cast(SwapStrategy)0,Result) error instantiating test.d(11): instantiated from here: sort!("a < b",cast(SwapStrategy)0,Result) test.d(11): Error: template instance std.algorithm.sort!("a < b",cast(SwapStrategy)0,Result) error instantiating