Remove the Boost.Range overloads of hash_range.

[SVN r28051]
This commit is contained in:
Daniel James
2005-04-07 21:08:58 +00:00
parent 37e2c9b8c4
commit 427b07ac6e

View File

@@ -23,10 +23,6 @@
#include <boost/limits.hpp>
#include <boost/functional/detail/float_functions.hpp>
#include <boost/detail/workaround.hpp>
#if !defined(BOOST_NO_CV_SPECIALIZATIONS)
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
#endif
namespace boost
{
@@ -57,10 +53,6 @@ namespace boost
template <class It> std::size_t hash_range(It first, It last);
template <class It> void hash_range(std::size_t&, It first, It last);
#if !defined(BOOST_NO_CV_SPECIALIZATIONS)
template <class Range> std::size_t hash_range(Range const& range);
template <class Range> void hash_range(std::size_t&, Range const& range);
#endif
template <class T> void hash_combine(std::size_t& seed, T const& v);
@@ -149,20 +141,6 @@ namespace boost
}
}
#if !defined(BOOST_NO_CV_SPECIALIZATIONS)
template <class Range>
inline std::size_t hash_range(Range const& range)
{
return hash_range(boost::const_begin(range), boost::const_end(range));
}
template <class Range>
inline void hash_range(std::size_t& seed, Range const& range)
{
hash_range(seed, boost::const_begin(range), boost::const_end(range));
}
#endif
#if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
template <class Ch, class A>
inline std::size_t hash_value(std::basic_string<Ch, std::string_char_traits<Ch>, A> const& v)