cmpfn.h File Reference


Functions

template<typename Type>
int OperatorCmp (Type one, Type two)

Function Documentation

template<typename Type>
int OperatorCmp ( Type  one,
Type  two 
)

This function template is a generic function to compare two values using the built-in == and < operators. It is supplied as a convenience for those situations where a comparison function is required, and the type has a built-in ordering that you would like to use.


Generated on Mon Feb 12 23:30:08 2007 for CS 106B Libraries by  doxygen 1.5.1