mirror of
https://github.com/boostorg/container_hash.git
synced 2025-08-03 06:24:41 +02:00
Add traits to hash_fwd.hpp
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user