aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/ratio
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2023-04-29 17:04:52 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2023-04-29 17:04:52 +0300
commit2942410bc325f3a68895ea0618cc08d55fcc35c0 (patch)
tree8f98a8abe77422d817da42e00f3cc86b02238d47 /contrib/restricted/boost/ratio
parente22a1275612e12e71128b0a4155ee88a11be6631 (diff)
downloadydb-2942410bc325f3a68895ea0618cc08d55fcc35c0.tar.gz
Update contrib/restricted/boost/ratio to 1.82.0
Diffstat (limited to 'contrib/restricted/boost/ratio')
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/config.hpp1
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/detail/requires_cxx11.hpp22
2 files changed, 23 insertions, 0 deletions
diff --git a/contrib/restricted/boost/ratio/include/boost/ratio/config.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/config.hpp
index 3e4d581298..29f7e0c1c3 100644
--- a/contrib/restricted/boost/ratio/include/boost/ratio/config.hpp
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/config.hpp
@@ -9,6 +9,7 @@
#ifndef BOOST_RATIO_CONFIG_HPP
#define BOOST_RATIO_CONFIG_HPP
+#include <boost/ratio/detail/requires_cxx11.hpp>
#include <boost/config.hpp>
#include <boost/cstdint.hpp>
diff --git a/contrib/restricted/boost/ratio/include/boost/ratio/detail/requires_cxx11.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/detail/requires_cxx11.hpp
new file mode 100644
index 0000000000..8341a96056
--- /dev/null
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/detail/requires_cxx11.hpp
@@ -0,0 +1,22 @@
+#ifndef BOOST_RATIO_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
+#define BOOST_RATIO_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
+
+// Copyright 2023 Peter Dimov
+// Distributed under the Boost Software License, Version 1.0.
+// https://www.boost.org/LICENSE_1_0.txt
+
+#include <boost/config.hpp>
+#include <boost/config/pragma_message.hpp>
+
+#if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || \
+ defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || \
+ defined(BOOST_NO_CXX11_DECLTYPE) || \
+ defined(BOOST_NO_CXX11_CONSTEXPR) || \
+ defined(BOOST_NO_CXX11_NOEXCEPT) || \
+ defined(BOOST_NO_CXX11_HDR_RATIO)
+
+BOOST_PRAGMA_MESSAGE("C++03 support is deprecated in Boost.Ratio 1.82 and will be removed in Boost.Ratio 1.84.")
+
+#endif
+
+#endif // #ifndef BOOST_RATIO_DETAIL_REQUIRES_CXX11_HPP_INCLUDED