From 427b07ac6e2fa7677fa77618dbb175894d13c680 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 7 Apr 2005 21:08:58 +0000 Subject: [PATCH] Remove the Boost.Range overloads of hash_range. [SVN r28051] --- include/boost/functional/hash/hash.hpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/include/boost/functional/hash/hash.hpp b/include/boost/functional/hash/hash.hpp index 1fede32..73bf885 100644 --- a/include/boost/functional/hash/hash.hpp +++ b/include/boost/functional/hash/hash.hpp @@ -23,10 +23,6 @@ #include #include #include -#if !defined(BOOST_NO_CV_SPECIALIZATIONS) -#include -#include -#endif namespace boost { @@ -57,10 +53,6 @@ namespace boost template std::size_t hash_range(It first, It last); template void hash_range(std::size_t&, It first, It last); -#if !defined(BOOST_NO_CV_SPECIALIZATIONS) - template std::size_t hash_range(Range const& range); - template void hash_range(std::size_t&, Range const& range); -#endif template void hash_combine(std::size_t& seed, T const& v); @@ -149,20 +141,6 @@ namespace boost } } -#if !defined(BOOST_NO_CV_SPECIALIZATIONS) - template - inline std::size_t hash_range(Range const& range) - { - return hash_range(boost::const_begin(range), boost::const_end(range)); - } - - template - 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 inline std::size_t hash_value(std::basic_string, A> const& v)