hash_fwd.hpp 986 B

12345678910111213141516171819202122232425262728293031323334353637
  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. #ifndef BOOST_FUNCTIONAL_HASH_FWD_HPP
  6. #define BOOST_FUNCTIONAL_HASH_FWD_HPP
  7. #include <cstddef>
  8. namespace boost
  9. {
  10. namespace container_hash
  11. {
  12. template<class T> struct is_range;
  13. template<class T> struct is_contiguous_range;
  14. template<class T> struct is_unordered_range;
  15. template<class T> struct is_described_class;
  16. template<class T> struct is_tuple_like;
  17. } // namespace container_hash
  18. template<class T> struct hash;
  19. template<class T> void hash_combine( std::size_t& seed, T const& v );
  20. template<class It> void hash_range( std::size_t&, It, It );
  21. template<class It> std::size_t hash_range( It, It );
  22. template<class It> void hash_unordered_range( std::size_t&, It, It );
  23. template<class It> std::size_t hash_unordered_range( It, It );
  24. } // namespace boost
  25. #endif // #ifndef BOOST_FUNCTIONAL_HASH_FWD_HPP