Line
Link Here
|
0 |
-- a/boost/container_hash/hash.hpp |
0 |
++ b/boost/container_hash/hash.hpp |
Lines 69-85
namespace boost
Link Here
|
69 |
{ |
68 |
{ |
70 |
namespace hash_detail |
69 |
namespace hash_detail |
71 |
{ |
70 |
{ |
72 |
#if defined(BOOST_NO_CXX98_FUNCTION_BASE) |
|
|
73 |
template <typename T> |
71 |
template <typename T> |
74 |
struct hash_base |
72 |
struct hash_base |
75 |
{ |
73 |
{ |
76 |
typedef T argument_type; |
74 |
typedef T argument_type; |
77 |
typedef std::size_t result_type; |
75 |
typedef std::size_t result_type; |
78 |
}; |
76 |
}; |
79 |
#else |
|
|
80 |
template <typename T> |
81 |
struct hash_base : std::unary_function<T, std::size_t> {}; |
82 |
#endif |
83 |
|
77 |
|
84 |
struct enable_hash_value { typedef std::size_t type; }; |
78 |
struct enable_hash_value { typedef std::size_t type; }; |
85 |
|
79 |
|