mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 22:14:28 +02:00
Remove the Boost.Range overloads of hash_range.
[SVN r28051]
This commit is contained in:
@@ -23,10 +23,6 @@
|
|||||||
#include <boost/limits.hpp>
|
#include <boost/limits.hpp>
|
||||||
#include <boost/functional/detail/float_functions.hpp>
|
#include <boost/functional/detail/float_functions.hpp>
|
||||||
#include <boost/detail/workaround.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
|
namespace boost
|
||||||
{
|
{
|
||||||
@@ -57,10 +53,6 @@ namespace boost
|
|||||||
|
|
||||||
template <class It> std::size_t hash_range(It first, It last);
|
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);
|
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);
|
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)
|
#if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
|
||||||
template <class Ch, class A>
|
template <class Ch, class A>
|
||||||
inline std::size_t hash_value(std::basic_string<Ch, std::string_char_traits<Ch>, A> const& v)
|
inline std::size_t hash_value(std::basic_string<Ch, std::string_char_traits<Ch>, A> const& v)
|
||||||
|
Reference in New Issue
Block a user