00001 00006 /*----------------------------------------------------------------------------*/ 00007 /* C Tool Box: Designed and implemented by: */ 00008 /* Walter F.J. Mueller Gesellschaft fuer Schwerionenforschung (GSI) */ 00009 /* Planckstrasse 1, D-64291 Darmstadt, Germany */ 00010 /* Email: W.F.J.Mueller@gsi.de */ 00011 /* WWW: http://www-kp3.gsi.de/www/kp3/people/mueller.html */ 00012 /*------------------------------------------+---------------------------------*/ 00013 00022 00023 00024 template <class T> 00025 inline bool CTBless<T>::operator()(const T& v1, const T& v2) 00026 { 00027 return (v1 < v2); 00028 } 00029 00030 //------------------------------------------+----------------------------------- 00039 00040 00041 template <class T> 00042 inline bool CTBgreater<T>::operator()(const T& v1, const T& v2) 00043 { 00044 return (v1 > v2); 00045 } 00046 00047 //------------------------------------------+----------------------------------- 00056 00057 00058 template <class T> 00059 inline bool CTBequal<T>::operator()(const T& v1, const T& v2) 00060 { 00061 return (v1 == v2); 00062 }