Add traits to hash_fwd.hpp

This commit is contained in:
Peter Dimov
2022-09-13 20:10:35 +03:00
parent 30c32bb3df
commit c399cf6a38

View File

@@ -10,6 +10,16 @@
namespace boost namespace boost
{ {
namespace container_hash
{
template<class T> struct is_range;
template<class T> struct is_contiguous_range;
template<class T> struct is_unordered_range;
} // namespace container_hash
template<class T> struct hash; template<class T> struct hash;
template<class T> void hash_combine( std::size_t& seed, T const& v ); template<class T> void hash_combine( std::size_t& seed, T const& v );
@@ -19,6 +29,7 @@ namespace boost
template<class It> std::size_t hash_unordered_range( It, It ); template<class It> std::size_t hash_unordered_range( It, It );
template<class It> void hash_unordered_range( std::size_t&, It, It ); template<class It> void hash_unordered_range( std::size_t&, It, It );
}
} // namespace boost
#endif // #ifndef BOOST_FUNCTIONAL_HASH_FWD_HPP #endif // #ifndef BOOST_FUNCTIONAL_HASH_FWD_HPP