Standard C++ Library User Guide and Tutorial
cout << " is equal to ";
else if (*aDiffPosition < *bDiffPosition)
cout << " is less than ";
else
cout << " is greater than ";
cout << b << endl;
}
A second form of the mismatch() algorithm is similar to the one illustrated, except it accepts a
binary predicate as a fourth argument. This binary function is used to compare elements, in
place of the == operator.