sort! (std.algorithm)

vargas scriptoff at gmail.com
Sun Feb 10 05:34:50 PST 2008


Hello  ,  I inspire myself  with the example from std.algorithm : 

        int[] array = ([ 1, 2, 3, 4 ]).dup;
	sort!("a < b")(array);
	return 0;



and i have two errors : 
/opt/dmd/bin/../src/phobos/std/algorithm.d(393): variable std.algorithm.getPivot!(compFn).getPivot!(int*).getPivot.r final cannot be applied to variable
/opt/dmd/bin/../src/phobos/std/algorithm.d(404): template instance std.algorithm.getPivot!(compFn).getPivot!(int*) error instantiating




thanks in advance 


  








More information about the Digitalmars-d mailing list