All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hash.h
Go to the documentation of this file.
1 /* hash.h
2  */
3 #ifndef STL_HASH_H
4 #define STL_HASH_H
5 #if (__GNUC__ >= 4 && __GNUC_MINOR__ >=3)
6 # include <tr1/functional>
7 #else
8 # include <boost/functional/hash_fwd.hpp>
9 #endif
10 
11 namespace osl
12 {
13  namespace stl
14  {
15  template <class T>
16  struct hash;
17 
18 #if (__GNUC__ >= 4 && __GNUC_MINOR__ >=3)
19  template <class T>
20  struct hash : public std::tr1::hash<T>
21  {
22  };
23 #else
24  template <class T>
25  struct hash : public boost::hash<T>
26  {
27  };
28 #endif
29  } // namespace stl
30 } // namespace stl
31 
32 #endif /* STL_HASH_H */
33 // ;;; Local Variables:
34 // ;;; mode:c++
35 // ;;; c-basic-offset:2
36 // ;;; End: