sortImpl slice problem example

Code



Compilation output:

/usr/local/include/dmd2/std/algorithm.d(7315): Error: cannot implicitly convert expression (right) of type Iterator!(Deque,int) to c584.Deque!(int).Deque /usr/local/include/dmd2/std/algorithm.d(7316): Error: cannot implicitly convert expression (left) of type Iterator!(Deque,int) to c584.Deque!(int).Deque /usr/local/include/dmd2/std/algorithm.d(7029): Error: template instance std.algorithm.sortImpl!(binaryFun,cast(SwapStrategy)0,Deque) error instantiating /home/c863/c584.d(255): instantiated from here: sort!("a < b",cast(SwapStrategy)0,Deque) /home/c863/c584.d(255): Error: template instance std.algorithm.sort!("a < b",cast(SwapStrategy)0,Deque) error instantiating /usr/local/include/dmd2/std/range.d(6625): Error: cannot implicitly convert expression (this._input.opSlice(a,b)) of type Iterator!(Deque,int) to c584.Deque!(int).Deque

Paste info


Author: Guest
Views: 990
Private: no
Expires: Never
Uploaded: 25.11.12 14:49
Votes: 0

Compilation


Compiler: DMD 2.060
Pointer size: m64