Go to the documentation of this file.00001
00002
00003 #ifndef STL_HASH_H
00004 #define STL_HASH_H
00005 #if (__GNUC__ >= 4 && __GNUC_MINOR__ >=3)
00006 # include <tr1/functional>
00007 #elif (__GNUC__ && ! __clang__)
00008 # include <ext/hash_fun.h>
00009 #else
00010 # include <boost/functional/hash_fwd.hpp>
00011 #endif
00012
00013 namespace osl
00014 {
00015 namespace stl
00016 {
00017 template <class T>
00018 struct hash;
00019
00020 #if (__GNUC__ >= 4 && __GNUC_MINOR__ >=3)
00021 template <class T>
00022 struct hash : public std::tr1::hash<T>
00023 {
00024 };
00025 #elif (defined __GNUC__ && ! defined __clang__)
00026 template <class T>
00027 struct hash : public __gnu_cxx::hash<T>
00028 {
00029 };
00030 #else
00031 template <class T>
00032 struct hash : public boost::hash<T>
00033 {
00034 };
00035 #endif
00036 }
00037 }
00038
00039 #endif
00040
00041
00042
00043