Snap for 10872577 from 053ffe1f36ef2f6df530be0640ce936567a09d44 to 24Q1-release

Change-Id: Ic60040965540cd77276489a4f32207660e4da558
diff --git a/third_party/boost/config/include/boost/config/stdlib/libcpp.hpp b/third_party/boost/config/include/boost/config/stdlib/libcpp.hpp
index ed51c05..001e7c3 100644
--- a/third_party/boost/config/include/boost/config/stdlib/libcpp.hpp
+++ b/third_party/boost/config/include/boost/config/stdlib/libcpp.hpp
@@ -162,4 +162,13 @@
 #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
 #endif
 
+#if _LIBCPP_VERSION >= 15000
+//
+// Unary function is now deprecated in C++11 and later:
+//
+#if __cplusplus >= 201103L
+#define BOOST_NO_CXX98_FUNCTION_BASE
+#endif
+#endif
+
 //  --- end ---