diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-04-29 17:05:13 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-04-29 17:05:13 +0300 |
commit | 5141f0d41e8d7c15ff668346d60be6db03175670 (patch) | |
tree | c6db56004f1a124546ae4a2b4e2cb2fe3fa1a47c /contrib/restricted | |
parent | 2942410bc325f3a68895ea0618cc08d55fcc35c0 (diff) | |
download | ydb-5141f0d41e8d7c15ff668346d60be6db03175670.tar.gz |
Update contrib/restricted/boost/smart_ptr to 1.82.0
Diffstat (limited to 'contrib/restricted')
13 files changed, 37 insertions, 0 deletions
diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/allocate_shared_array.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/allocate_shared_array.hpp index 5f00d91e18..f07702bdbb 100644 --- a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/allocate_shared_array.hpp +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/allocate_shared_array.hpp @@ -8,6 +8,7 @@ Distributed under the Boost Software License, Version 1.0. #ifndef BOOST_SMART_PTR_ALLOCATE_SHARED_ARRAY_HPP #define BOOST_SMART_PTR_ALLOCATE_SHARED_ARRAY_HPP +#include <boost/smart_ptr/detail/requires_cxx11.hpp> #include <boost/core/allocator_access.hpp> #include <boost/core/alloc_construct.hpp> #include <boost/core/first_scalar.hpp> diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/detail/requires_cxx11.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/detail/requires_cxx11.hpp new file mode 100644 index 0000000000..fb4d61ceeb --- /dev/null +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/detail/requires_cxx11.hpp @@ -0,0 +1,23 @@ +#ifndef BOOST_SMART_PTR_DETAIL_REQUIRES_CXX11_HPP_INCLUDED +#define BOOST_SMART_PTR_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_NULLPTR) || \ + defined(BOOST_NO_CXX11_SMART_PTR) + +BOOST_PRAGMA_MESSAGE("C++03 support is deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.84.") + +#endif + +#endif // #ifndef BOOST_SMART_PTR_DETAIL_REQUIRES_CXX11_HPP_INCLUDED diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/enable_shared_from_this.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/enable_shared_from_this.hpp index fc4de0b571..b4ea23cf8a 100644 --- a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/enable_shared_from_this.hpp +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/enable_shared_from_this.hpp @@ -13,6 +13,7 @@ // See http://www.boost.org/libs/smart_ptr/ for documentation. // +#include <boost/smart_ptr/detail/requires_cxx11.hpp> #include <boost/smart_ptr/weak_ptr.hpp> #include <boost/smart_ptr/shared_ptr.hpp> #include <boost/smart_ptr/detail/sp_noexcept.hpp> diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/intrusive_ptr.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/intrusive_ptr.hpp index 895a12fe9a..733be391fb 100644 --- a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/intrusive_ptr.hpp +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/intrusive_ptr.hpp @@ -13,6 +13,8 @@ // See http://www.boost.org/libs/smart_ptr/ for documentation. // +#include <boost/smart_ptr/detail/requires_cxx11.hpp> + #include <boost/config.hpp> #include <boost/assert.hpp> diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_shared.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_shared.hpp index dd9191c61d..fd2261bc5a 100644 --- a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_shared.hpp +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_shared.hpp @@ -11,6 +11,7 @@ // // See http://www.boost.org/libs/smart_ptr/ for documentation. +#include <boost/smart_ptr/detail/requires_cxx11.hpp> #include <boost/smart_ptr/make_shared_object.hpp> #if !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION ) && !defined( BOOST_NO_SFINAE ) diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_shared_array.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_shared_array.hpp index 785eb875fc..10dfdaa1b8 100644 --- a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_shared_array.hpp +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_shared_array.hpp @@ -8,6 +8,7 @@ Distributed under the Boost Software License, Version 1.0. #ifndef BOOST_SMART_PTR_MAKE_SHARED_ARRAY_HPP #define BOOST_SMART_PTR_MAKE_SHARED_ARRAY_HPP +#include <boost/smart_ptr/detail/requires_cxx11.hpp> #include <boost/core/default_allocator.hpp> #include <boost/smart_ptr/allocate_shared_array.hpp> diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_shared_object.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_shared_object.hpp index d726ec3054..12a7bac109 100644 --- a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_shared_object.hpp +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_shared_object.hpp @@ -11,6 +11,7 @@ // // See http://www.boost.org/libs/smart_ptr/ for documentation. +#include <boost/smart_ptr/detail/requires_cxx11.hpp> #include <boost/config.hpp> #include <boost/move/core.hpp> #include <boost/move/utility_core.hpp> diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_unique.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_unique.hpp index 1834007872..c2c6ef30e4 100644 --- a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_unique.hpp +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/make_unique.hpp @@ -8,6 +8,7 @@ Distributed under the Boost Software License, Version 1.0. #ifndef BOOST_SMART_PTR_MAKE_UNIQUE_HPP #define BOOST_SMART_PTR_MAKE_UNIQUE_HPP +#include <boost/smart_ptr/detail/requires_cxx11.hpp> #include <boost/type_traits/enable_if.hpp> #include <boost/type_traits/is_array.hpp> #include <boost/type_traits/is_unbounded_array.hpp> diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/scoped_array.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/scoped_array.hpp index 4066b73b38..d3c250d075 100644 --- a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/scoped_array.hpp +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/scoped_array.hpp @@ -10,6 +10,7 @@ // // See http://www.boost.org/libs/smart_ptr/ for documentation. +#include <boost/smart_ptr/detail/requires_cxx11.hpp> #include <boost/config.hpp> #include <boost/assert.hpp> #include <boost/core/checked_delete.hpp> diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/scoped_ptr.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/scoped_ptr.hpp index 4ea7642019..da8df191be 100644 --- a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/scoped_ptr.hpp +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/scoped_ptr.hpp @@ -10,6 +10,7 @@ // // See http://www.boost.org/libs/smart_ptr/ for documentation. +#include <boost/smart_ptr/detail/requires_cxx11.hpp> #include <boost/config.hpp> #include <boost/assert.hpp> #include <boost/core/checked_delete.hpp> diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/shared_array.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/shared_array.hpp index 34e8ec5af8..05933e04c3 100644 --- a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/shared_array.hpp +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/shared_array.hpp @@ -14,6 +14,8 @@ // See http://www.boost.org/libs/smart_ptr/ for documentation. // +#include <boost/smart_ptr/detail/requires_cxx11.hpp> + #include <boost/config.hpp> // for broken compiler workarounds #include <memory> // TR1 cyclic inclusion fix diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp index b26fa2d1f1..e5993aa7e3 100644 --- a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/shared_ptr.hpp @@ -14,6 +14,7 @@ // See http://www.boost.org/libs/smart_ptr/ for documentation. // +#include <boost/smart_ptr/detail/requires_cxx11.hpp> #include <boost/smart_ptr/detail/shared_count.hpp> #include <boost/smart_ptr/detail/sp_convertible.hpp> #include <boost/smart_ptr/detail/sp_nullptr_t.hpp> diff --git a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/weak_ptr.hpp b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/weak_ptr.hpp index 16eea6777c..2022bce8d9 100644 --- a/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/weak_ptr.hpp +++ b/contrib/restricted/boost/smart_ptr/include/boost/smart_ptr/weak_ptr.hpp @@ -13,6 +13,7 @@ // See http://www.boost.org/libs/smart_ptr/ for documentation. // +#include <boost/smart_ptr/detail/requires_cxx11.hpp> #include <boost/smart_ptr/detail/shared_count.hpp> #include <boost/smart_ptr/shared_ptr.hpp> #include <boost/smart_ptr/detail/sp_noexcept.hpp> |