template < class T > bool cmp <T*>( const T* a, const T* b ) { cout << "Pointer template function called" << endl; return (*a<*b); }