--- gsmlib-1.11/gsmlib/gsm_map_key.h 2002-05-14 23:38:12.000000000 +0400 +++ gsmlib-1.11-fixed/gsmlib/gsm_map_key.h 2004-08-02 00:56:40.997784696 +0400 @@ -25,6 +25,16 @@ // wrapper for map key, can access Sortedtore to get sortOrder() + // compare two keys + template class MapKey; + + template + bool operator<(const MapKey &x, + const MapKey &y); + template + bool operator==(const MapKey &x, + const MapKey &y); + template class MapKey { SortedStore &_myStore; // my store @@ -47,20 +57,16 @@ friend bool operator< -#ifndef WIN32 - <> -#endif + (const MapKey &x, const MapKey &y); friend bool operator== -#ifndef WIN32 - <> -#endif + (const MapKey &x, const MapKey &y); }; - +/* // compare two keys template extern bool operator<(const MapKey &x, @@ -68,7 +74,7 @@ template extern bool operator==(const MapKey &x, const MapKey &y); - + */ // MapKey members template