So I am writting a code where I am sorting something. And I have my definition in a class term.cpp
friend bool operator<(Term T1, Term T2);
Then in a Template I was provided with we have a implementation of the merge sorting algorithm as
void SortingList<T>::merge_sort(int (*compare)(T T1, T T2));
Now suppose I have the following
SortingList<Term> randomList;
randomList.merge_sort(???);
So my question is what do I put in the ??? I tried
randomList.merge_sort(Term::operator<(Term T1, Term T2));
but it did not work and i'm confused, I do not know how the compiler wants the operator put inside the merge_sort implementation