RCS file: /cvsroot/boost/boost/boost/functional/hash/hash.hpp,v
retrieving revision 1.27.2.8
diff -u -r1.27.2.8 hash.hpp
|
|
|
|
| 46 | 46 | std::size_t hash_value(long); |
| 47 | 47 | std::size_t hash_value(unsigned long); |
| 48 | 48 | |
| 49 | | #if BOOST_HAS_LONG_LONG && defined(_M_X64) && defined(_WIN64) |
| | 49 | #if defined(BOOST_HAS_LONG_LONG) && defined(_M_X64) && defined(_WIN64) |
| 50 | 50 | // On 64-bit windows std::size_t is a typedef for unsigned long long, which |
| 51 | 51 | // isn't due to be supported until Boost 1.35. So add support here. |
| 52 | 52 | // (Technically, Boost.Hash isn't actually documented as supporting |
| … |
… |
|
| 122 | 122 | return static_cast<std::size_t>(v); |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | | #if BOOST_HAS_LONG_LONG && defined(_M_X64) && defined(_WIN64) |
| | 125 | #if defined(BOOST_HAS_LONG_LONG) && defined(_M_X64) && defined(_WIN64) |
| 126 | 126 | inline std::size_t hash_value(long long v) |
| 127 | 127 | { |
| 128 | 128 | return v; |