aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-05-13 20:15:44 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-05-13 20:38:27 +0300
commit01eaa25a3d0e2c2aaa4756f15015833d52fec99c (patch)
treea80754be6a62dea58551ca0979840d6da0be53bf
parent34cebb9c59cd5509b71af3070df29c2a78324f05 (diff)
downloadydb-01eaa25a3d0e2c2aaa4756f15015833d52fec99c.tar.gz
Update contrib/restricted/boost/type_traits to 1.85.0
834dfaec342b097ab19d8f38b313f4afd1b85140
-rw-r--r--contrib/restricted/boost/type_traits/include/boost/type_traits/is_floating_point.hpp22
-rw-r--r--contrib/restricted/boost/type_traits/ya.make4
2 files changed, 24 insertions, 2 deletions
diff --git a/contrib/restricted/boost/type_traits/include/boost/type_traits/is_floating_point.hpp b/contrib/restricted/boost/type_traits/include/boost/type_traits/is_floating_point.hpp
index 196c900cf9..77158fc831 100644
--- a/contrib/restricted/boost/type_traits/include/boost/type_traits/is_floating_point.hpp
+++ b/contrib/restricted/boost/type_traits/include/boost/type_traits/is_floating_point.hpp
@@ -10,6 +10,10 @@
#include <boost/type_traits/integral_constant.hpp>
+#ifndef BOOST_NO_CXX23_HDR_STDFLOAT
+#error #include <stdfloat>
+#endif
+
namespace boost {
//* is a type T a floating-point type described in the standard (3.9.1p8)
@@ -25,6 +29,24 @@ namespace boost {
template<> struct is_floating_point<__float128> : public true_type{};
#endif
+#ifndef BOOST_NO_CXX23_HDR_STDFLOAT
+#if defined(__STDCPP_FLOAT16_T__)
+ template<> struct is_floating_point<std::float16_t> : public true_type {};
+#endif
+#if defined(__STDCPP_FLOAT32_T__)
+ template<> struct is_floating_point<std::float32_t> : public true_type {};
+#endif
+#if defined(__STDCPP_FLOAT64_T__)
+ template<> struct is_floating_point<std::float64_t> : public true_type {};
+#endif
+#if defined(__STDCPP_FLOAT128_T__)
+ template<> struct is_floating_point<std::float128_t> : public true_type {};
+#endif
+#if defined(__STDCPP_BFLOAT16_T__)
+ template<> struct is_floating_point<std::bfloat16_t> : public true_type {};
+#endif
+#endif
+
} // namespace boost
#endif // BOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED
diff --git a/contrib/restricted/boost/type_traits/ya.make b/contrib/restricted/boost/type_traits/ya.make
index 9b65cdee8f..99c4575621 100644
--- a/contrib/restricted/boost/type_traits/ya.make
+++ b/contrib/restricted/boost/type_traits/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/type_traits/archive/boost-1.84.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/type_traits/archive/boost-1.85.0.tar.gz)
PEERDIR(
contrib/restricted/boost/config