| 1 | // Copyright 2005-2009 Daniel James. |
|---|---|
| 2 | // Copyright 2021, 2022 Peter Dimov. |
| 3 | // Distributed under the Boost Software License, Version 1.0. |
| 4 | // https://www.boost.org/LICENSE_1_0.txt |
| 5 | |
| 6 | #ifndef BOOST_FUNCTIONAL_HASH_FWD_HPP |
| 7 | #define BOOST_FUNCTIONAL_HASH_FWD_HPP |
| 8 | |
| 9 | #include <cstddef> |
| 10 | |
| 11 | namespace boost |
| 12 | { |
| 13 | |
| 14 | namespace container_hash |
| 15 | { |
| 16 | |
| 17 | template<class T> struct is_range; |
| 18 | template<class T> struct is_contiguous_range; |
| 19 | template<class T> struct is_unordered_range; |
| 20 | template<class T> struct is_described_class; |
| 21 | template<class T> struct is_tuple_like; |
| 22 | |
| 23 | } // namespace container_hash |
| 24 | |
| 25 | template<class T> struct hash; |
| 26 | |
| 27 | template<class T> void hash_combine( std::size_t& seed, T const& v ); |
| 28 | |
| 29 | template<class It> void hash_range( std::size_t&, It, It ); |
| 30 | template<class It> std::size_t hash_range( It, It ); |
| 31 | |
| 32 | template<class It> void hash_unordered_range( std::size_t&, It, It ); |
| 33 | template<class It> std::size_t hash_unordered_range( It, It ); |
| 34 | |
| 35 | } // namespace boost |
| 36 | |
| 37 | #endif // #ifndef BOOST_FUNCTIONAL_HASH_FWD_HPP |
| 38 |
