aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2023-08-14 20:32:25 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2023-08-15 01:50:29 +0300
commit262241439f576e1b7e241a25c1b0ac9e78438fbe (patch)
treed312a7cc5578035e42ee11bd068b1b0d89d3b0a7
parentab748365bb333f03804e2663d2600dd04b18cffa (diff)
downloadydb-262241439f576e1b7e241a25c1b0ac9e78438fbe.tar.gz
Update contrib/restricted/boost/optional to 1.83.0
-rw-r--r--contrib/restricted/boost/optional/include/boost/optional/detail/old_optional_implementation.hpp6
-rw-r--r--contrib/restricted/boost/optional/include/boost/optional/detail/optional_config.hpp6
-rw-r--r--contrib/restricted/boost/optional/include/boost/optional/detail/optional_reference_spec.hpp4
-rw-r--r--contrib/restricted/boost/optional/include/boost/optional/detail/optional_relops.hpp2
-rw-r--r--contrib/restricted/boost/optional/include/boost/optional/detail/optional_trivially_copyable_base.hpp6
-rw-r--r--contrib/restricted/boost/optional/include/boost/optional/optional.hpp4
-rw-r--r--contrib/restricted/boost/optional/ya.make4
7 files changed, 16 insertions, 16 deletions
diff --git a/contrib/restricted/boost/optional/include/boost/optional/detail/old_optional_implementation.hpp b/contrib/restricted/boost/optional/include/boost/optional/detail/old_optional_implementation.hpp
index 3431e155a4..6d707fc07f 100644
--- a/contrib/restricted/boost/optional/include/boost/optional/detail/old_optional_implementation.hpp
+++ b/contrib/restricted/boost/optional/include/boost/optional/detail/old_optional_implementation.hpp
@@ -336,7 +336,7 @@ class optional_base : public optional_tag
// No-throw (assuming T::~T() doesn't)
void reset() BOOST_NOEXCEPT { destroy(); }
- // **DEPPRECATED** Replaces the current value -if any- with 'val'
+ // **DEPRECATED** Replaces the current value -if any- with 'val'
void reset ( argument_type val ) { assign(val); }
// Returns a pointer to the value if this is initialized, otherwise,
@@ -542,7 +542,7 @@ class optional_base : public optional_tag
// Thus, the following overload is needed to properly handle the case when the 'lhs'
// is another optional.
//
- // For VC<=70 compilers this workaround dosen't work becasue the comnpiler issues and error
+ // For VC<=70 compilers this workaround doesn't work because the compiler issues and error
// instead of choosing the wrong overload
//
#ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
@@ -629,7 +629,7 @@ class optional_base : public optional_tag
// If T is of reference type, trying to get a pointer to the held value must result in a compile-time error.
// Decent compilers should disallow conversions from reference_content<T>* to T*, but just in case,
- // the following olverloads are used to filter out the case and guarantee an error in case of T being a reference.
+ // the following overloads are used to filter out the case and guarantee an error in case of T being a reference.
pointer_const_type cast_ptr( internal_type const* p, is_not_reference_tag ) const { return p ; }
pointer_type cast_ptr( internal_type * p, is_not_reference_tag ) { return p ; }
pointer_const_type cast_ptr( internal_type const* p, is_reference_tag ) const { return &p->get() ; }
diff --git a/contrib/restricted/boost/optional/include/boost/optional/detail/optional_config.hpp b/contrib/restricted/boost/optional/include/boost/optional/detail/optional_config.hpp
index 73f2505486..b5040a4704 100644
--- a/contrib/restricted/boost/optional/include/boost/optional/detail/optional_config.hpp
+++ b/contrib/restricted/boost/optional/include/boost/optional/detail/optional_config.hpp
@@ -53,7 +53,7 @@
#endif
#if (defined(_MSC_VER) && _MSC_VER <= 1800)
-// on MSCV 2013 and earlier an unwanted temporary is created when you assign from
+// on MSVC 2013 and earlier an unwanted temporary is created when you assign from
// a const lvalue of integral type. Thus we bind not to the original address but
// to a temporary.
# define BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT
@@ -114,9 +114,9 @@
#endif
-// Detect suport for defaulting move operations
+// Detect support for defaulting move operations
// (some older compilers implement rvalue references,
-// defaulted funcitons but move operations are not special members and cannot be defaulted)
+// defaulted functions but move operations are not special members and cannot be defaulted)
#ifdef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
# define BOOST_OPTIONAL_DETAIL_NO_DEFAULTED_MOVE_FUNCTIONS
diff --git a/contrib/restricted/boost/optional/include/boost/optional/detail/optional_reference_spec.hpp b/contrib/restricted/boost/optional/include/boost/optional/detail/optional_reference_spec.hpp
index 0dfeeefaf3..b013f0b5dc 100644
--- a/contrib/restricted/boost/optional/include/boost/optional/detail/optional_reference_spec.hpp
+++ b/contrib/restricted/boost/optional/include/boost/optional/detail/optional_reference_spec.hpp
@@ -66,7 +66,7 @@ void prevent_assignment_from_false_const_integral()
{
#ifndef BOOST_OPTIONAL_CONFIG_ALLOW_BINDING_TO_RVALUES
#ifdef BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT
- // MSVC compiler without rvalue refernces: we need to disable the asignment from
+ // MSVC compiler without rvalue references: we need to disable the assignment from
// const integral lvalue reference, as it may be an invalid temporary
BOOST_STATIC_ASSERT_MSG(!is_const_integral<From>::value,
"binding const lvalue references to integral types is disabled in this compiler");
@@ -130,7 +130,7 @@ public:
explicit optional(const optional<U&>& rhs) BOOST_NOEXCEPT : ptr_(rhs.get_ptr()) {}
optional(const optional& rhs) BOOST_NOEXCEPT : ptr_(rhs.get_ptr()) {}
- // the following two implement a 'conditionally explicit' constructor: condition is a hack for buggy compilers with srewed conversion construction from const int
+ // the following two implement a 'conditionally explicit' constructor: condition is a hack for buggy compilers with screwed conversion construction from const int
template <class U>
explicit optional(U& rhs, BOOST_DEDUCED_TYPENAME boost::enable_if_c<detail::is_same_decayed<T, U>::value && detail::is_const_integral_bad_for_conversion<U>::value, bool>::type = true) BOOST_NOEXCEPT
: ptr_(boost::addressof(rhs)) {}
diff --git a/contrib/restricted/boost/optional/include/boost/optional/detail/optional_relops.hpp b/contrib/restricted/boost/optional/include/boost/optional/detail/optional_relops.hpp
index 2c17f2b727..1c155787be 100644
--- a/contrib/restricted/boost/optional/include/boost/optional/detail/optional_relops.hpp
+++ b/contrib/restricted/boost/optional/include/boost/optional/detail/optional_relops.hpp
@@ -16,7 +16,7 @@
namespace boost {
// optional's relational operators ( ==, !=, <, >, <=, >= ) have deep-semantics (compare values).
-// WARNING: This is UNLIKE pointers. Use equal_pointees()/less_pointess() in generic code instead.
+// WARNING: This is UNLIKE pointers. Use equal_pointees()/less_pointees() in generic code instead.
//
diff --git a/contrib/restricted/boost/optional/include/boost/optional/detail/optional_trivially_copyable_base.hpp b/contrib/restricted/boost/optional/include/boost/optional/detail/optional_trivially_copyable_base.hpp
index 5a5b80b6f0..8d98a84496 100644
--- a/contrib/restricted/boost/optional/include/boost/optional/detail/optional_trivially_copyable_base.hpp
+++ b/contrib/restricted/boost/optional/include/boost/optional/detail/optional_trivially_copyable_base.hpp
@@ -9,7 +9,7 @@
// You are welcome to contact the author at:
// akrzemi1@gmail.com
-// trivilally-copyable version of the storage
+// trivially-copyable version of the storage
template<class T>
class tc_optional_base : public optional_tag
@@ -142,7 +142,7 @@ class tc_optional_base : public optional_tag
// No-throw (assuming T::~T() doesn't)
void reset() BOOST_NOEXCEPT { destroy(); }
- // **DEPPRECATED** Replaces the current value -if any- with 'val'
+ // **DEPRECATED** Replaces the current value -if any- with 'val'
void reset ( argument_type val ) BOOST_NOEXCEPT { assign(val); }
// Returns a pointer to the value if this is initialized, otherwise,
@@ -455,7 +455,7 @@ class tc_optional_base : public optional_tag
// Thus, the following overload is needed to properly handle the case when the 'lhs'
// is another optional.
//
- // For VC<=70 compilers this workaround dosen't work becasue the comnpiler issues and error
+ // For VC<=70 compilers this workaround doesn't work because the compiler issues and error
// instead of choosing the wrong overload
//
#ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
diff --git a/contrib/restricted/boost/optional/include/boost/optional/optional.hpp b/contrib/restricted/boost/optional/include/boost/optional/optional.hpp
index 4134a7e558..56d50d7886 100644
--- a/contrib/restricted/boost/optional/include/boost/optional/optional.hpp
+++ b/contrib/restricted/boost/optional/include/boost/optional/optional.hpp
@@ -392,7 +392,7 @@ class optional_base : public optional_tag
// No-throw (assuming T::~T() doesn't)
void reset() BOOST_NOEXCEPT { destroy(); }
- // **DEPPRECATED** Replaces the current value -if any- with 'val'
+ // **DEPRECATED** Replaces the current value -if any- with 'val'
void reset ( argument_type val ) { assign(val); }
// Returns a pointer to the value if this is initialized, otherwise,
@@ -722,7 +722,7 @@ class optional_base : public optional_tag
// Thus, the following overload is needed to properly handle the case when the 'lhs'
// is another optional.
//
- // For VC<=70 compilers this workaround dosen't work becasue the comnpiler issues and error
+ // For VC<=70 compilers this workaround doesn't work because the compiler issues and error
// instead of choosing the wrong overload
//
#ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
diff --git a/contrib/restricted/boost/optional/ya.make b/contrib/restricted/boost/optional/ya.make
index 9f1ff98866..5293a22613 100644
--- a/contrib/restricted/boost/optional/ya.make
+++ b/contrib/restricted/boost/optional/ya.make
@@ -6,9 +6,9 @@ LICENSE(BSL-1.0)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(1.82.0)
+VERSION(1.83.0)
-ORIGINAL_SOURCE(https://github.com/boostorg/optional/archive/boost-1.82.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/optional/archive/boost-1.83.0.tar.gz)
PEERDIR(
contrib/restricted/boost/assert