123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #ifndef BOOST_INTRUSIVE_DETAIL_HASH_COMBINE_HPP
- #define BOOST_INTRUSIVE_DETAIL_HASH_COMBINE_HPP
- #ifndef BOOST_CONFIG_HPP
- # include <boost/config.hpp>
- #endif
- #if defined(BOOST_HAS_PRAGMA_ONCE)
- # pragma once
- #endif
- #include <boost/cstdint.hpp>
- #include "hash_mix.hpp"
- namespace boost {
- namespace intrusive {
- namespace detail {
- inline void hash_combine_size_t(std::size_t& seed, std::size_t value)
- {
- seed = boost::intrusive::detail::hash_mix(seed + 0x9e3779b9 + value);
- }
- }
- }
- }
- #endif
|