diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-04-29 10:15:37 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-04-29 10:15:37 +0300 |
commit | cfb5240e49217e65df1b97a1cacb804c077b2ba7 (patch) | |
tree | 333b46836ec91dbaf594ae999f02d8a045565cc9 /contrib/restricted/boost | |
parent | 8721a3c0d16b7c607eb00bf95c6d0a676e6f15ca (diff) | |
download | ydb-cfb5240e49217e65df1b97a1cacb804c077b2ba7.tar.gz |
Update contrib/restricted/boost/chrono to 1.82.0
Diffstat (limited to 'contrib/restricted/boost')
-rw-r--r-- | contrib/restricted/boost/chrono/include/boost/chrono/config.hpp | 1 | ||||
-rw-r--r-- | contrib/restricted/boost/chrono/include/boost/chrono/detail/requires_cxx11.hpp | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/contrib/restricted/boost/chrono/include/boost/chrono/config.hpp b/contrib/restricted/boost/chrono/include/boost/chrono/config.hpp index 447dca4fd5..7eee574efe 100644 --- a/contrib/restricted/boost/chrono/include/boost/chrono/config.hpp +++ b/contrib/restricted/boost/chrono/include/boost/chrono/config.hpp @@ -12,6 +12,7 @@ #ifndef BOOST_CHRONO_CONFIG_HPP #define BOOST_CHRONO_CONFIG_HPP +#include <boost/chrono/detail/requires_cxx11.hpp> #include <boost/config.hpp> #include <boost/predef.h> diff --git a/contrib/restricted/boost/chrono/include/boost/chrono/detail/requires_cxx11.hpp b/contrib/restricted/boost/chrono/include/boost/chrono/detail/requires_cxx11.hpp new file mode 100644 index 0000000000..bb83105775 --- /dev/null +++ b/contrib/restricted/boost/chrono/include/boost/chrono/detail/requires_cxx11.hpp @@ -0,0 +1,23 @@ +#ifndef BOOST_CHRONO_DETAIL_REQUIRES_CXX11_HPP_INCLUDED +#define BOOST_CHRONO_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_CHRONO) || \ + defined(BOOST_NO_CXX11_HDR_RATIO) + +BOOST_PRAGMA_MESSAGE("C++03 support is deprecated in Boost.Chrono 1.82 and will be removed in Boost.Chrono 1.84.") + +#endif + +#endif // #ifndef BOOST_CHRONO_DETAIL_REQUIRES_CXX11_HPP_INCLUDED |