| | | | | |

Predicate Class GreaterThan < T >

    template <typename T>
    class GreaterThan
    {
      public:
        bool operator () (const T& t1, const T& t2) const ;
    } ;
    
    template <typename T>
    int GreaterThan<T>::operator () (const T& t1, const T& t2) const
    {
      return (t1 > t2);
    }
    

| | Top of Page | 5. Function Classes & - 5 of 11