aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-04-30 12:42:57 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-04-30 12:53:25 +0300
commita269e52ad8d0cfdf4c749b1cf05aaacc113ce6b2 (patch)
treef17753df3ff5fe65186dc831036afaaf34b6b23f
parentb44f9cd0381bbdcbb79d326ce55d0fc6a8e42268 (diff)
downloadydb-a269e52ad8d0cfdf4c749b1cf05aaacc113ce6b2.tar.gz
Update contrib/restricted/boost/container_hash to 1.85.0
de55a223887c2caf8864dca89754e8ff8d47b749
-rw-r--r--contrib/restricted/boost/container_hash/include/boost/container_hash/is_range.hpp6
-rw-r--r--contrib/restricted/boost/container_hash/include/boost/container_hash/is_tuple_like.hpp2
-rw-r--r--contrib/restricted/boost/container_hash/ya.make4
3 files changed, 8 insertions, 4 deletions
diff --git a/contrib/restricted/boost/container_hash/include/boost/container_hash/is_range.hpp b/contrib/restricted/boost/container_hash/include/boost/container_hash/is_range.hpp
index f0b067ff8c..e6adbce565 100644
--- a/contrib/restricted/boost/container_hash/include/boost/container_hash/is_range.hpp
+++ b/contrib/restricted/boost/container_hash/include/boost/container_hash/is_range.hpp
@@ -14,8 +14,12 @@ namespace boost
namespace hash_detail
{
+template<class T> struct iterator_traits: std::iterator_traits<T> {};
+template<> struct iterator_traits< void* > {};
+template<> struct iterator_traits< void const* > {};
+
template<class T, class It>
- std::integral_constant< bool, !std::is_same<typename std::remove_cv<T>::type, typename std::iterator_traits<It>::value_type>::value >
+ std::integral_constant< bool, !std::is_same<typename std::remove_cv<T>::type, typename iterator_traits<It>::value_type>::value >
is_range_check( It first, It last );
template<class T> decltype( is_range_check<T>( std::declval<T const&>().begin(), std::declval<T const&>().end() ) ) is_range_( int );
diff --git a/contrib/restricted/boost/container_hash/include/boost/container_hash/is_tuple_like.hpp b/contrib/restricted/boost/container_hash/include/boost/container_hash/is_tuple_like.hpp
index 48728cd90b..bd34ee8c74 100644
--- a/contrib/restricted/boost/container_hash/include/boost/container_hash/is_tuple_like.hpp
+++ b/contrib/restricted/boost/container_hash/include/boost/container_hash/is_tuple_like.hpp
@@ -26,7 +26,7 @@ template<class T> struct is_tuple_like_<T, std::integral_constant<bool, std::tup
namespace container_hash
{
-template<class T> struct is_tuple_like: hash_detail::is_tuple_like_<T>
+template<class T> struct is_tuple_like: hash_detail::is_tuple_like_< typename std::remove_cv<T>::type >
{
};
diff --git a/contrib/restricted/boost/container_hash/ya.make b/contrib/restricted/boost/container_hash/ya.make
index 94eb38f62f..5c516aa57c 100644
--- a/contrib/restricted/boost/container_hash/ya.make
+++ b/contrib/restricted/boost/container_hash/ya.make
@@ -6,9 +6,9 @@ LICENSE(BSL-1.0)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(1.84.0)
+VERSION(1.85.0)
-ORIGINAL_SOURCE(https://github.com/boostorg/container_hash/archive/boost-1.84.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/container_hash/archive/boost-1.85.0.tar.gz)
PEERDIR(
contrib/restricted/boost/config