hash.h
Go to the documentation of this file.
00001 /* hash.h
00002  */
00003 #ifndef STL_HASH_H
00004 #define STL_HASH_H
00005 #if (__GNUC__ >= 4 && __GNUC_MINOR__ >=3)
00006 #  include <tr1/functional>
00007 #else
00008 #  include <boost/functional/hash_fwd.hpp>
00009 #endif
00010 
00011 namespace osl
00012 {
00013   namespace stl
00014   {
00015     template <class T>
00016     struct hash;
00017 
00018 #if (__GNUC__ >= 4 && __GNUC_MINOR__ >=3)
00019     template <class T>
00020     struct hash : public std::tr1::hash<T>
00021     {
00022     };
00023 #else
00024     template <class T>
00025     struct hash : public boost::hash<T>
00026     {
00027     };
00028 #endif
00029   } // namespace stl
00030 } // namespace stl
00031 
00032 #endif /* STL_HASH_H */
00033 // ;;; Local Variables:
00034 // ;;; mode:c++
00035 // ;;; c-basic-offset:2
00036 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines