diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-04-30 12:51:59 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-04-30 12:51:59 +0300 |
commit | 0bce9a145edc59b530712f3d84f057d9a1f8f1c3 (patch) | |
tree | 84756dc2e4c1ce1357d2203a3000e8f73945b343 | |
parent | 20c119e6934e778a173a124bdde478c5ee0262aa (diff) | |
download | ydb-0bce9a145edc59b530712f3d84f057d9a1f8f1c3.tar.gz |
Update contrib/restricted/boost/typeof to 1.82.0
-rw-r--r-- | contrib/restricted/boost/typeof/include/boost/typeof/detail/requires_cxx11.hpp | 18 | ||||
-rw-r--r-- | contrib/restricted/boost/typeof/include/boost/typeof/typeof.hpp | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/contrib/restricted/boost/typeof/include/boost/typeof/detail/requires_cxx11.hpp b/contrib/restricted/boost/typeof/include/boost/typeof/detail/requires_cxx11.hpp new file mode 100644 index 00000000000..e58b16038ef --- /dev/null +++ b/contrib/restricted/boost/typeof/include/boost/typeof/detail/requires_cxx11.hpp @@ -0,0 +1,18 @@ +#ifndef BOOST_TYPEOF_DETAIL_REQUIRES_CXX11_HPP_INCLUDED +#define BOOST_TYPEOF_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_DECLTYPE) || \ + defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) + +BOOST_PRAGMA_MESSAGE("C++03 support is deprecated in Boost.Typeof 1.82 and will be removed in Boost.Typeof 1.84.") + +#endif + +#endif // #ifndef BOOST_TYPEOF_DETAIL_REQUIRES_CXX11_HPP_INCLUDED diff --git a/contrib/restricted/boost/typeof/include/boost/typeof/typeof.hpp b/contrib/restricted/boost/typeof/include/boost/typeof/typeof.hpp index 37488ca97c0..da593f1bacb 100644 --- a/contrib/restricted/boost/typeof/include/boost/typeof/typeof.hpp +++ b/contrib/restricted/boost/typeof/include/boost/typeof/typeof.hpp @@ -13,6 +13,7 @@ # error both typeof emulation and native mode requested #endif +#include <boost/typeof/detail/requires_cxx11.hpp> #include <boost/config.hpp> #include <boost/config/workaround.hpp> |