30 #ifndef __FIND_KEY_PREDICATE__ 
   31 #define __FIND_KEY_PREDICATE__ 
   35 #include "DisplayPair.hxx" 
   37 template < 
typename T >
 
   42   inline bool operator()(
const T &v1, 
const T& v2)
 const {
 
   43     std::cout << 
"FindKeyPredicate Generic -> :" << &(v1.first) << std::endl;
 
   44     return ( v1 == _value );
 
   65 template <
typename T1, 
typename T2>
 
   66 struct FindKeyPredicate<  std::pair<T1,T2> > : 
public std::unary_function < std::pair<T1,T2>, bool > 
 
   70     std::cout << 
"FindKeyPredicate 2-Initializing with value " << _value << std::endl;
 
   73   inline bool operator()( 
const std::pair<T1,T2> & v1)
 const {
 
   74     std::cout << 
"FindKeyPredicate 2-> :" << v1.first << std::endl;
 
   75     return v1.first == _value  ;