diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-12-17 02:30:12 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-12-17 02:46:28 +0300 |
commit | 2b44b34396b769d7789de7bfdc22154b55400bdd (patch) | |
tree | be5a6e2fcb33b2563eb5fd9a339bdc301fa56ffa /contrib/restricted/boost/utility | |
parent | b8e1d027efd9cc6df3e4d388c767d9e07322b788 (diff) | |
download | ydb-2b44b34396b769d7789de7bfdc22154b55400bdd.tar.gz |
Update contrib/restricted/boost/utility to 1.84.0
Diffstat (limited to 'contrib/restricted/boost/utility')
-rw-r--r-- | contrib/restricted/boost/utility/include/boost/utility/value_init.hpp | 16 | ||||
-rw-r--r-- | contrib/restricted/boost/utility/ya.make | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/contrib/restricted/boost/utility/include/boost/utility/value_init.hpp b/contrib/restricted/boost/utility/include/boost/utility/value_init.hpp index c3cd713d3d..c0b953237c 100644 --- a/contrib/restricted/boost/utility/include/boost/utility/value_init.hpp +++ b/contrib/restricted/boost/utility/include/boost/utility/value_init.hpp @@ -23,7 +23,7 @@ // contains. More details on these issues are at libs/utility/value_init.htm #include <boost/config.hpp> // For BOOST_NO_COMPLETE_VALUE_INITIALIZATION. -#include <boost/core/swap.hpp> +#include <boost/core/invoke_swap.hpp> #include <cstring> #include <cstddef> @@ -32,7 +32,7 @@ // It is safe to ignore the following warning from MSVC 7.1 or higher: // "warning C4351: new behavior: elements of array will be default initialized" #pragma warning(disable: 4351) -// It is safe to ignore the following MSVC warning, which may pop up when T is +// It is safe to ignore the following MSVC warning, which may pop up when T is // a const type: "warning C4512: assignment operator could not be generated". #pragma warning(disable: 4512) #endif @@ -40,8 +40,8 @@ #ifndef BOOST_UTILITY_DOCS #ifdef BOOST_NO_COMPLETE_VALUE_INITIALIZATION - // Implementation detail: The macro BOOST_DETAIL_VALUE_INIT_WORKAROUND_SUGGESTED - // suggests that a workaround should be applied, because of compiler issues + // Implementation detail: The macro BOOST_DETAIL_VALUE_INIT_WORKAROUND_SUGGESTED + // suggests that a workaround should be applied, because of compiler issues // regarding value-initialization. #define BOOST_DETAIL_VALUE_INIT_WORKAROUND_SUGGESTED #endif @@ -117,7 +117,7 @@ class initialized BOOST_GPU_ENABLED void swap(initialized & arg) { - ::boost::swap( this->data(), arg.data() ); + ::boost::core::invoke_swap( this->data(), arg.data() ); } BOOST_GPU_ENABLED @@ -164,13 +164,13 @@ class value_initialized initialized<T> m_data; public : - + BOOST_GPU_ENABLED value_initialized() : m_data() { } - + BOOST_GPU_ENABLED T const & data() const { @@ -228,7 +228,7 @@ void swap ( value_initialized<T> & lhs, value_initialized<T> & rhs ) class initialized_value_t { public : - + template <class T> BOOST_GPU_ENABLED operator T() const { return initialized<T>().data(); diff --git a/contrib/restricted/boost/utility/ya.make b/contrib/restricted/boost/utility/ya.make index abff1c6301..c4ef4db25c 100644 --- a/contrib/restricted/boost/utility/ya.make +++ b/contrib/restricted/boost/utility/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.83.0) +VERSION(1.84.0) -ORIGINAL_SOURCE(https://github.com/boostorg/utility/archive/boost-1.83.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/utility/archive/boost-1.84.0.tar.gz) PEERDIR( contrib/restricted/boost/config |