From 92f6cfb3ccf977b6a5c615ce174a9d94002b3b0d Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 11 Nov 2024 03:18:02 +0200 Subject: [PATCH] Remove hash_value overload for basic_string_view; it's no longer needed --- include/boost/core/detail/string_view.hpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/boost/core/detail/string_view.hpp b/include/boost/core/detail/string_view.hpp index 5cce6f6..8f9ab35 100644 --- a/include/boost/core/detail/string_view.hpp +++ b/include/boost/core/detail/string_view.hpp @@ -41,9 +41,6 @@ namespace boost // forward declaration of boost::basic_string_view from Utility template class basic_string_view; -// forward declaration of boost::hash_range from ContainerHash -template std::size_t hash_range( It, It ); - namespace core { namespace detail @@ -1181,11 +1178,6 @@ public: } #endif - - inline friend std::size_t hash_value( basic_string_view const& sv ) - { - return boost::hash_range( sv.begin(), sv.end() ); - } }; // stream inserter