HP Integrity NonStop H-Series User Manual
Page 156
Advertising

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.
Advertising
This manual is related to the following products: