From b14779966508a3aa10a116741bf8deb972078af3 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 26 Jan 2025 20:35:19 +0200 Subject: [PATCH] Remove local hash_value overload; boost::hash supports array-like types natively. --- include/boost/array.hpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/boost/array.hpp b/include/boost/array.hpp index cc5d55c..624b26a 100644 --- a/include/boost/array.hpp +++ b/include/boost/array.hpp @@ -395,14 +395,6 @@ namespace boost { return arg.elems; } - template std::size_t hash_range(It, It); - - template - std::size_t hash_value(const array& arr) - { - return boost::hash_range(arr.begin(), arr.end()); - } - template BOOST_CXX14_CONSTEXPR T &get(boost::array &arr) BOOST_NOEXCEPT { BOOST_STATIC_ASSERT_MSG ( Idx < N, "boost::get<>(boost::array &) index out of range" );