35 #include <tpie/config.h>
49 template<
class T,
class STLCMP>
60 inline int compare(
const T& left,
const T& right){
61 if( (*m_isLess)(left, right) ){
return -1; }
74 template<
class T,
class TPCMP>
81 inline bool operator()(
const T& left,
const T& right)
const{
82 return (m_cmpobj->compare(left, right) < 0);
105 inline int compare(
const T& left,
const T& right){
106 if( left < right ){
return -1; }
113 #endif // _COMPARATOR_H