aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-05-10 10:56:51 +0300
committerthegeorg <thegeorg@yandex-team.com>2023-05-10 10:56:51 +0300
commit4d6feceac9ea8999f879e1fa5539da545e7c6cdb (patch)
treec0445748b6fb245df6f3a78c820b40f421f9904e
parent2ca5ef9e572873a85f16f77864931a2d9c11f9df (diff)
downloadydb-4d6feceac9ea8999f879e1fa5539da545e7c6cdb.tar.gz
Update contrib/restricted/boost/config to 1.82.0
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/borland.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/clang.hpp4
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/codegear.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/common_edg.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/cray.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/digitalmars.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/gcc.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/gcc_xml.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/hp_acc.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/intel.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/metrowerks.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/mpw.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/pathscale.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/sunpro_cc.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/vacpp.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/visualc.hpp9
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/xlcpp.hpp4
-rw-r--r--contrib/restricted/boost/config/include/boost/config/compiler/xlcpp_zos.hpp1
-rw-r--r--contrib/restricted/boost/config/include/boost/config/detail/suffix.hpp16
-rw-r--r--contrib/restricted/boost/config/include/boost/config/stdlib/dinkumware.hpp32
-rw-r--r--contrib/restricted/boost/config/include/boost/config/stdlib/libstdcpp3.hpp17
-rw-r--r--contrib/restricted/boost/config/include/boost/version.hpp4
22 files changed, 95 insertions, 6 deletions
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/borland.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/borland.hpp
index c5113b71510..567636c5b87 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/borland.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/borland.hpp
@@ -194,6 +194,7 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_ALIGNOF
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#define BOOST_NO_CXX11_INLINE_NAMESPACES
#define BOOST_NO_CXX11_REF_QUALIFIERS
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/clang.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/clang.hpp
index 90b21b1d472..696fc6b6111 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/clang.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/clang.hpp
@@ -246,6 +246,10 @@
# define BOOST_NO_CXX11_ALIGNAS
#endif
+#if !__has_feature(cxx_alignof)
+# define BOOST_NO_CXX11_ALIGNOF
+#endif
+
#if !__has_feature(cxx_trailing_return)
# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#endif
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/codegear.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/codegear.hpp
index 77949aaf46c..4d3f42aefb1 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/codegear.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/codegear.hpp
@@ -260,6 +260,7 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_ALIGNOF
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#define BOOST_NO_CXX11_INLINE_NAMESPACES
#define BOOST_NO_CXX11_REF_QUALIFIERS
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/common_edg.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/common_edg.hpp
index 7887b30a291..dc049893cd2 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/common_edg.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/common_edg.hpp
@@ -92,6 +92,7 @@
#define BOOST_NO_CXX11_TEMPLATE_ALIASES
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_ALIGNOF
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#define BOOST_NO_CXX11_INLINE_NAMESPACES
#define BOOST_NO_CXX11_REF_QUALIFIERS
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/cray.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/cray.hpp
index 2f1e9e8e184..e40fd05acf9 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/cray.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/cray.hpp
@@ -375,6 +375,7 @@
#if __cplusplus >= 201103L
#undef BOOST_NO_CXX11_ALIGNAS
+#undef BOOST_NO_CXX11_ALIGNOF
#undef BOOST_NO_CXX11_DECLTYPE_N3276
#define BOOST_NO_CXX11_HDR_ATOMIC
#undef BOOST_NO_CXX11_HDR_FUNCTIONAL
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/digitalmars.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/digitalmars.hpp
index 7641ee8a6d7..bb56ff6c064 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/digitalmars.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/digitalmars.hpp
@@ -79,6 +79,7 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_ALIGNOF
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#define BOOST_NO_CXX11_INLINE_NAMESPACES
#define BOOST_NO_CXX11_REF_QUALIFIERS
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/gcc.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/gcc.hpp
index 4cea0ce26be..2f1fe5508bc 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/gcc.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/gcc.hpp
@@ -219,6 +219,7 @@
# define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
# define BOOST_NO_CXX11_RAW_LITERALS
# define BOOST_NO_CXX11_UNICODE_LITERALS
+# define BOOST_NO_CXX11_ALIGNOF
#endif
// C++0x features in 4.5.1 and later
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/gcc_xml.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/gcc_xml.hpp
index fd6896a8119..75cac44e9f0 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/gcc_xml.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/gcc_xml.hpp
@@ -57,6 +57,7 @@
# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
# define BOOST_NO_CXX11_USER_DEFINED_LITERALS
# define BOOST_NO_CXX11_ALIGNAS
+# define BOOST_NO_CXX11_ALIGNOF
# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
# define BOOST_NO_CXX11_INLINE_NAMESPACES
# define BOOST_NO_CXX11_REF_QUALIFIERS
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/hp_acc.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/hp_acc.hpp
index cf5667b5200..25636324bf3 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/hp_acc.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/hp_acc.hpp
@@ -121,6 +121,7 @@
#define BOOST_NO_CXX11_VARIADIC_TEMPLATES
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_ALIGNOF
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#define BOOST_NO_CXX11_INLINE_NAMESPACES
#define BOOST_NO_CXX11_REF_QUALIFIERS
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/intel.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/intel.hpp
index 9a06d2fe3d1..6a343972e2e 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/intel.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/intel.hpp
@@ -483,6 +483,7 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
// BOOST_NO_CXX11_ALIGNAS
#if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40800)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730))
# undef BOOST_NO_CXX11_ALIGNAS
+# undef BOOST_NO_CXX11_ALIGNOF
#endif
// BOOST_NO_CXX11_TRAILING_RESULT_TYPES
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/metrowerks.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/metrowerks.hpp
index 32c1ca9a2ab..448ab67bc35 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/metrowerks.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/metrowerks.hpp
@@ -122,6 +122,7 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_ALIGNOF
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#define BOOST_NO_CXX11_INLINE_NAMESPACES
#define BOOST_NO_CXX11_REF_QUALIFIERS
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/mpw.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/mpw.hpp
index 750d5884156..8433f371952 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/mpw.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/mpw.hpp
@@ -71,6 +71,7 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_ALIGNOF
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#define BOOST_NO_CXX11_INLINE_NAMESPACES
#define BOOST_NO_CXX11_REF_QUALIFIERS
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/pathscale.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/pathscale.hpp
index 683b0d31ba7..5348cf7f723 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/pathscale.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/pathscale.hpp
@@ -84,6 +84,7 @@
# define BOOST_NO_CXX11_HDR_CHRONO
# define BOOST_NO_CXX11_USER_DEFINED_LITERALS
# define BOOST_NO_CXX11_ALIGNAS
+# define BOOST_NO_CXX11_ALIGNOF
# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
# define BOOST_NO_CXX11_INLINE_NAMESPACES
# define BOOST_NO_CXX11_REF_QUALIFIERS
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/sunpro_cc.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/sunpro_cc.hpp
index 1ab789912c5..490dc76dc84 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/sunpro_cc.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/sunpro_cc.hpp
@@ -126,6 +126,7 @@
#define BOOST_NO_CXX11_TEMPLATE_ALIASES
#define BOOST_NO_CXX11_UNICODE_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_ALIGNOF
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#define BOOST_NO_CXX11_INLINE_NAMESPACES
#define BOOST_NO_CXX11_FINAL
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/vacpp.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/vacpp.hpp
index 0280fe2958d..9cfa1adf85b 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/vacpp.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/vacpp.hpp
@@ -133,6 +133,7 @@
# define BOOST_NO_CXX11_VARIADIC_MACROS
#endif
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_ALIGNOF
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#define BOOST_NO_CXX11_INLINE_NAMESPACES
#define BOOST_NO_CXX11_REF_QUALIFIERS
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/visualc.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/visualc.hpp
index 6378094c0c9..ae631219a63 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/visualc.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/visualc.hpp
@@ -183,6 +183,7 @@
# define BOOST_NO_CXX11_REF_QUALIFIERS
# define BOOST_NO_CXX11_USER_DEFINED_LITERALS
# define BOOST_NO_CXX11_ALIGNAS
+# define BOOST_NO_CXX11_ALIGNOF
# define BOOST_NO_CXX11_INLINE_NAMESPACES
# define BOOST_NO_CXX11_CHAR16_T
# define BOOST_NO_CXX11_CHAR32_T
@@ -270,7 +271,7 @@
#ifndef BOOST_NO_CXX11_THREAD_LOCAL
# define BOOST_NO_CXX11_THREAD_LOCAL
#endif
-#ifndef BOOST_NO_SFINAE_EXPR
+#if !defined(BOOST_NO_SFINAE_EXPR) && !defined(_MSVC_LANG)
# define BOOST_NO_SFINAE_EXPR
#endif
#ifndef BOOST_NO_CXX11_REF_QUALIFIERS
@@ -364,6 +365,8 @@
# define BOOST_COMPILER_VERSION 14.1
# elif _MSC_VER < 1930
# define BOOST_COMPILER_VERSION 14.2
+# elif _MSC_VER < 1940
+# define BOOST_COMPILER_VERSION 14.3
# else
# define BOOST_COMPILER_VERSION _MSC_VER
# endif
@@ -375,8 +378,8 @@
#include <boost/config/pragma_message.hpp>
//
-// last known and checked version is 19.20.27508 (VC++ 2019 RC3):
-#if (_MSC_VER > 1920)
+// last known and checked version is 19.3x (VS2022):
+#if (_MSC_VER >= 1940)
# if defined(BOOST_ASSERT_CONFIG)
# error "Boost.Config is older than your current compiler version."
# elif !defined(BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE)
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/xlcpp.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/xlcpp.hpp
index f002e69c918..99b8b245583 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/xlcpp.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/xlcpp.hpp
@@ -184,6 +184,10 @@
# define BOOST_NO_CXX11_ALIGNAS
#endif
+#if !__has_feature(cxx_alignof)
+# define BOOST_NO_CXX11_ALIGNOF
+#endif
+
#if !__has_feature(cxx_trailing_return)
# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#endif
diff --git a/contrib/restricted/boost/config/include/boost/config/compiler/xlcpp_zos.hpp b/contrib/restricted/boost/config/include/boost/config/compiler/xlcpp_zos.hpp
index bc5b7e831fc..9a177f1bb96 100644
--- a/contrib/restricted/boost/config/include/boost/config/compiler/xlcpp_zos.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/compiler/xlcpp_zos.hpp
@@ -142,6 +142,7 @@
#define BOOST_NO_CXX11_FINAL
#define BOOST_NO_CXX11_OVERRIDE
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_ALIGNOF
#define BOOST_NO_CXX11_UNRESTRICTED_UNION
#define BOOST_NO_CXX14_VARIABLE_TEMPLATES
#define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
diff --git a/contrib/restricted/boost/config/include/boost/config/detail/suffix.hpp b/contrib/restricted/boost/config/include/boost/config/detail/suffix.hpp
index 898c7ac4731..b28d46f1846 100644
--- a/contrib/restricted/boost/config/include/boost/config/detail/suffix.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/detail/suffix.hpp
@@ -1048,6 +1048,9 @@ namespace std{ using ::type_info; }
#else
#define BOOST_CXX14_CONSTEXPR constexpr
#endif
+#if !defined(BOOST_NO_CXX17_STRUCTURED_BINDINGS) && defined(BOOST_NO_CXX11_HDR_TUPLE)
+# define BOOST_NO_CXX17_STRUCTURED_BINDINGS
+#endif
//
// C++17 inline variables
@@ -1072,8 +1075,21 @@ namespace std{ using ::type_info; }
// Unused variable/typedef workarounds:
//
#ifndef BOOST_ATTRIBUTE_UNUSED
+# if defined(__has_attribute) && defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x5130)
+# if __has_attribute(maybe_unused)
+# define BOOST_ATTRIBUTE_UNUSED [[maybe_unused]]
+# endif
+# elif defined(__has_cpp_attribute)
+# if __has_cpp_attribute(maybe_unused)
+# define BOOST_ATTRIBUTE_UNUSED [[maybe_unused]]
+# endif
+# endif
+#endif
+
+#ifndef BOOST_ATTRIBUTE_UNUSED
# define BOOST_ATTRIBUTE_UNUSED
#endif
+
//
// [[nodiscard]]:
//
diff --git a/contrib/restricted/boost/config/include/boost/config/stdlib/dinkumware.hpp b/contrib/restricted/boost/config/include/boost/config/stdlib/dinkumware.hpp
index 8feccc65af4..46ffe093ee4 100644
--- a/contrib/restricted/boost/config/include/boost/config/stdlib/dinkumware.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/stdlib/dinkumware.hpp
@@ -240,6 +240,8 @@
# define BOOST_NO_CXX98_RANDOM_SHUFFLE
# define BOOST_NO_CXX98_FUNCTION_BASE
# define BOOST_NO_CXX98_BINDERS
+# elif defined(_HAS_DEPRECATED_ADAPTOR_TYPEDEFS) && (_HAS_DEPRECATED_ADAPTOR_TYPEDEFS == 0)
+# define BOOST_NO_CXX98_BINDERS
# endif
#endif
//
@@ -285,6 +287,36 @@
# define BOOST_DINKUMWARE_STDLIB 1
#endif
+// BOOST_MSSTL_VERSION: as _MSVC_STL_VERSION, but for earlier releases as well
+
+#if defined(_MSVC_STL_VERSION) // VS2017 (14.1) and above
+# define BOOST_MSSTL_VERSION _MSVC_STL_VERSION
+
+#elif defined(_CPPLIB_VER) && _CPPLIB_VER >= 650 // VS2015 (14.0)
+# define BOOST_MSSTL_VERSION 140
+
+#elif defined(_CPPLIB_VER) && _CPPLIB_VER >= 610 // VS2013 (12.0)
+# define BOOST_MSSTL_VERSION 120
+
+#elif defined(_CPPLIB_VER) && _CPPLIB_VER >= 540 // VS2012 (11.0)
+# define BOOST_MSSTL_VERSION 110
+
+#elif defined(_CPPLIB_VER) && _CPPLIB_VER >= 520 // VS2010 (10.0)
+# define BOOST_MSSTL_VERSION 100
+
+#elif defined(_CPPLIB_VER) && _CPPLIB_VER >= 505 // VS2008SP1 (9.0)
+# define BOOST_MSSTL_VERSION 91
+
+#elif defined(_CPPLIB_VER) && _CPPLIB_VER >= 503 // VS2008 (also 9.0)
+# define BOOST_MSSTL_VERSION 90
+
+#elif defined(_CPPLIB_VER) && _CPPLIB_VER >= 405 // VS2005 (8.0)
+# define BOOST_MSSTL_VERSION 80
+
+#endif
+
+//
+
#ifdef _CPPLIB_VER
# define BOOST_STDLIB "Dinkumware standard library version " BOOST_STRINGIZE(_CPPLIB_VER)
#else
diff --git a/contrib/restricted/boost/config/include/boost/config/stdlib/libstdcpp3.hpp b/contrib/restricted/boost/config/include/boost/config/stdlib/libstdcpp3.hpp
index 85ad1a6bde1..ad70936deae 100644
--- a/contrib/restricted/boost/config/include/boost/config/stdlib/libstdcpp3.hpp
+++ b/contrib/restricted/boost/config/include/boost/config/stdlib/libstdcpp3.hpp
@@ -139,6 +139,13 @@
//
#ifdef __clang__
+#ifdef _GLIBCXX_RELEASE
+# define BOOST_LIBSTDCXX_VERSION (_GLIBCXX_RELEASE * 10000 + 100)
+#else
+//
+// We figure out which gcc version issued this std lib
+// by checking which headers are available:
+//
#if __has_include(<expected>)
# define BOOST_LIBSTDCXX_VERSION 120100
#elif __has_include(<source_location>)
@@ -170,6 +177,7 @@
#elif __has_include(<array>)
# define BOOST_LIBSTDCXX_VERSION 40300
#endif
+#endif
//
// If BOOST_HAS_FLOAT128 is set, now that we know the std lib is libstdc++3, check to see if the std lib is
// configured to support this type. If not disable it:
@@ -259,7 +267,7 @@ extern "C" char *gets (char *__s);
# if !_GLIBCXX_DEPRECATED
# define BOOST_NO_AUTO_PTR
# endif
-# elif !_GLIBCXX_USE_DEPRECATED
+# elif !defined(_GLIBCXX_USE_DEPRECATED) || !_GLIBCXX_USE_DEPRECATED
# define BOOST_NO_AUTO_PTR
# define BOOST_NO_CXX98_BINDERS
# endif
@@ -431,6 +439,13 @@ extern "C" char *gets (char *__s);
#endif
#endif
+#if defined(__clang__) && (BOOST_LIBSTDCXX_VERSION < 40300) && !defined(BOOST_NO_CXX11_NULLPTR)
+# define BOOST_NO_CXX11_NULLPTR
+#endif
+#if defined(__clang__) && (BOOST_LIBSTDCXX_VERSION < 40300) && defined(BOOST_HAS_INT128) && defined(__APPLE_CC__)
+#undef BOOST_HAS_INT128
+#endif
+
//
// Headers not present on Solaris with the Oracle compiler:
#if defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x5140)
diff --git a/contrib/restricted/boost/config/include/boost/version.hpp b/contrib/restricted/boost/config/include/boost/version.hpp
index 63ed52e5ab4..02bd3fc6fa3 100644
--- a/contrib/restricted/boost/config/include/boost/version.hpp
+++ b/contrib/restricted/boost/config/include/boost/version.hpp
@@ -19,7 +19,7 @@
// BOOST_VERSION / 100 % 1000 is the minor version
// BOOST_VERSION / 100000 is the major version
-#define BOOST_VERSION 108100
+#define BOOST_VERSION 108200
//
// BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
@@ -27,6 +27,6 @@
// number, y is the minor version number, and z is the patch level if not 0.
// This is used by <config/auto_link.hpp> to select which library version to link to.
-#define BOOST_LIB_VERSION "1_81"
+#define BOOST_LIB_VERSION "1_82"
#endif