text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

c04p234a.h

Go to the documentation of this file.
00001 
00017 namespace std
00018 {
00019    template<> struct greater<string*>
00020    {
00021       // override operator() to create a function object
00022       bool operator() (string *s1, string *s2)
00023       {
00024     return (*s1) > (*s2);
00025       }  // end operator()
00026    }; // end std::greater
00027 }  // end std namespace

Generated on Sun Aug 27 13:05:37 2006 for AWLogo by  doxygen 1.4.6