void sort ( RandomAccessIterator first, RandomAccessIterator last, Compare_func );
How does the Compare_func work? I want to trace it for each input.
Sort in increasing order:
bool Compare_func(int i,int j)
{
return (i<j);
}
How are the parameters passed to Compare_func? E.g. for
array = {12,40,1,36};
int array[] = {12, 40, 1, 36};?