diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-04-29 17:04:52 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-04-29 17:04:52 +0300 |
commit | 2942410bc325f3a68895ea0618cc08d55fcc35c0 (patch) | |
tree | 8f98a8abe77422d817da42e00f3cc86b02238d47 | |
parent | e22a1275612e12e71128b0a4155ee88a11be6631 (diff) | |
download | ydb-2942410bc325f3a68895ea0618cc08d55fcc35c0.tar.gz |
Update contrib/restricted/boost/ratio to 1.82.0
-rw-r--r-- | contrib/restricted/boost/ratio/include/boost/ratio/config.hpp | 1 | ||||
-rw-r--r-- | contrib/restricted/boost/ratio/include/boost/ratio/detail/requires_cxx11.hpp | 22 |
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 3e4d581298f..29f7e0c1c3b 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 00000000000..8341a960569 --- /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 |