Просмотр исходного кода

Update contrib/restricted/boost/container_hash to 1.85.0
de55a223887c2caf8864dca89754e8ff8d47b749

robot-contrib 10 месяцев назад
Родитель
Сommit
a269e52ad8

+ 5 - 1
contrib/restricted/boost/container_hash/include/boost/container_hash/is_range.hpp

@@ -14,8 +14,12 @@ namespace boost
 namespace hash_detail
 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>
 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 );
         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 );
 template<class T> decltype( is_range_check<T>( std::declval<T const&>().begin(), std::declval<T const&>().end() ) ) is_range_( int );

+ 1 - 1
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
 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 >
 {
 {
 };
 };
 
 

+ 2 - 2
contrib/restricted/boost/container_hash/ya.make

@@ -6,9 +6,9 @@ LICENSE(BSL-1.0)
 
 
 LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
 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(
 PEERDIR(
     contrib/restricted/boost/config
     contrib/restricted/boost/config