diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2025-04-26 11:41:57 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2025-04-26 12:55:09 +0300 |
commit | c814fce05f57bde5a7dc674d88a926250a250dcb (patch) | |
tree | 8ae682f7202c8cea87a6914d1d9bdc668dadc399 | |
parent | 63c2d5a546c5d3a4ead8764f30c415062c77c2fc (diff) | |
download | ydb-c814fce05f57bde5a7dc674d88a926250a250dcb.tar.gz |
Intermediate changes
commit_hash:d5803d0504d2b59e86f5f760aa15993f6c445389
20 files changed, 68 insertions, 88 deletions
diff --git a/contrib/restricted/boost/iostreams/.yandex_meta/default.nix b/contrib/restricted/boost/iostreams/.yandex_meta/default.nix index 9cf65fab53c..2050c78d553 100644 --- a/contrib/restricted/boost/iostreams/.yandex_meta/default.nix +++ b/contrib/restricted/boost/iostreams/.yandex_meta/default.nix @@ -1,13 +1,13 @@ self: super: with self; { boost_iostreams = stdenv.mkDerivation rec { pname = "boost_iostreams"; - version = "1.87.0"; + version = "1.88.0"; src = fetchFromGitHub { owner = "boostorg"; repo = "iostreams"; rev = "boost-${version}"; - hash = "sha256-5wd8jbRGSFCQ96qbwqsHL5CRymgTvGKKCTErQ1IuxME="; + hash = "sha256-06nyC2gTshoIj4DFy0SPdND0FyKmhdYxjlRAdFJ15Ug="; }; }; } diff --git a/contrib/restricted/boost/iostreams/ya.make b/contrib/restricted/boost/iostreams/ya.make index b16e94cb2db..84b5d5dc8a9 100644 --- a/contrib/restricted/boost/iostreams/ya.make +++ b/contrib/restricted/boost/iostreams/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.87.0) +VERSION(1.88.0) -ORIGINAL_SOURCE(https://github.com/boostorg/iostreams/archive/boost-1.87.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/iostreams/archive/boost-1.88.0.tar.gz) PEERDIR( contrib/libs/libbz2 diff --git a/contrib/restricted/boost/math/.yandex_meta/default.nix b/contrib/restricted/boost/math/.yandex_meta/default.nix index e6b276b371d..16d603d9077 100644 --- a/contrib/restricted/boost/math/.yandex_meta/default.nix +++ b/contrib/restricted/boost/math/.yandex_meta/default.nix @@ -1,13 +1,13 @@ self: super: with self; { boost_math = stdenv.mkDerivation rec { pname = "boost_math"; - version = "1.87.0"; + version = "1.88.0"; src = fetchFromGitHub { owner = "boostorg"; repo = "math"; rev = "boost-${version}"; - hash = "sha256-qrv6ySO++gKkHhXMqnmuh21twljH0QnDtfGg65uM4eo="; + hash = "sha256-6IPYRwmircWMOa7lz8ftD8zORCwVNRdAkWmIjYj8xNU="; }; }; } diff --git a/contrib/restricted/boost/math/include/boost/math/ccmath/floor.hpp b/contrib/restricted/boost/math/include/boost/math/ccmath/floor.hpp index fb1dea34db6..5afed7d0ca2 100644 --- a/contrib/restricted/boost/math/include/boost/math/ccmath/floor.hpp +++ b/contrib/restricted/boost/math/include/boost/math/ccmath/floor.hpp @@ -33,7 +33,7 @@ inline constexpr T floor_pos_impl(T arg) noexcept T result = 1; - if(result < arg) + if(result <= arg) { while(result < arg) { diff --git a/contrib/restricted/boost/math/include/boost/math/ccmath/isinf.hpp b/contrib/restricted/boost/math/include/boost/math/ccmath/isinf.hpp index ecf0d620abc..f1b0e7c726b 100644 --- a/contrib/restricted/boost/math/include/boost/math/ccmath/isinf.hpp +++ b/contrib/restricted/boost/math/include/boost/math/ccmath/isinf.hpp @@ -23,8 +23,13 @@ constexpr bool isinf BOOST_MATH_PREVENT_MACRO_SUBSTITUTION(T x) noexcept if constexpr (std::numeric_limits<T>::is_signed) { #if defined(__clang_major__) && __clang_major__ >= 6 -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wtautological-constant-compare" +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wtautological-constant-compare" +# if defined(__has_warning) +# if __has_warning("-Wnan-infinity-disabled") +# pragma clang diagnostic ignored "-Wnan-infinity-disabled" +# endif +# endif #endif return x == std::numeric_limits<T>::infinity() || -x == std::numeric_limits<T>::infinity(); #if defined(__clang_major__) && __clang_major__ >= 6 diff --git a/contrib/restricted/boost/math/include/boost/math/distributions/cauchy.hpp b/contrib/restricted/boost/math/include/boost/math/distributions/cauchy.hpp index 3a5af69e439..c0c76addf7f 100644 --- a/contrib/restricted/boost/math/include/boost/math/distributions/cauchy.hpp +++ b/contrib/restricted/boost/math/include/boost/math/distributions/cauchy.hpp @@ -45,23 +45,11 @@ BOOST_MATH_GPU_ENABLED RealType cdf_imp(const cauchy_distribution<RealType, Poli // // This calculates the cdf of the Cauchy distribution and/or its complement. // - // The usual formula for the Cauchy cdf is: + // This implementation uses the formula // - // cdf = 0.5 + atan(x)/pi + // cdf = atan2(1, -x)/pi // - // But that suffers from cancellation error as x -> -INF. - // - // Recall that for x < 0: - // - // atan(x) = -pi/2 - atan(1/x) - // - // Substituting into the above we get: - // - // CDF = -atan(1/x)/pi ; x < 0 - // - // So the procedure is to calculate the cdf for -fabs(x) - // using the above formula, and then subtract from 1 when required - // to get the result. + // where x is the standardized (i.e. shifted and scaled) domain variable. // BOOST_MATH_STD_USING // for ADL of std functions constexpr auto function = "boost::math::cdf(cauchy<%1%>&, %1%)"; @@ -99,13 +87,8 @@ BOOST_MATH_GPU_ENABLED RealType cdf_imp(const cauchy_distribution<RealType, Poli { // Catches x == NaN return result; } - RealType mx = -fabs((x - location) / scale); // scale is > 0 - if(mx > -tools::epsilon<RealType>() / 8) - { // special case first: x extremely close to location. - return static_cast<RealType>(0.5f); - } - result = -atan(1 / mx) / constants::pi<RealType>(); - return (((x > location) != complement) ? 1 - result : result); + RealType x_std = static_cast<RealType>((complement) ? 1 : -1)*(x - location) / scale; + return atan2(static_cast<RealType>(1), x_std) / constants::pi<RealType>(); } // cdf template <class RealType, class Policy> diff --git a/contrib/restricted/boost/math/include/boost/math/distributions/fwd.hpp b/contrib/restricted/boost/math/include/boost/math/distributions/fwd.hpp index ccb3c0cd1bf..c231be418d4 100644 --- a/contrib/restricted/boost/math/include/boost/math/distributions/fwd.hpp +++ b/contrib/restricted/boost/math/include/boost/math/distributions/fwd.hpp @@ -11,8 +11,6 @@ #ifndef BOOST_MATH_DISTRIBUTIONS_FWD_HPP #define BOOST_MATH_DISTRIBUTIONS_FWD_HPP -// 33 distributions at Boost 1.9.1 after adding hyperexpon and arcsine - namespace boost{ namespace math{ template <class RealType, class Policy> diff --git a/contrib/restricted/boost/math/include/boost/math/distributions/skew_normal.hpp b/contrib/restricted/boost/math/include/boost/math/distributions/skew_normal.hpp index 7df81b6f5e1..28595a9ee8c 100644 --- a/contrib/restricted/boost/math/include/boost/math/distributions/skew_normal.hpp +++ b/contrib/restricted/boost/math/include/boost/math/distributions/skew_normal.hpp @@ -13,7 +13,7 @@ // Azzalini, A. (1985). "A class of distributions which includes the normal ones". // Scand. J. Statist. 12: 171-178. -#include <boost/math/distributions/fwd.hpp> // TODO add skew_normal distribution to fwd.hpp! +#include <boost/math/distributions/fwd.hpp> #include <boost/math/special_functions/owens_t.hpp> // Owen's T function #include <boost/math/distributions/complement.hpp> #include <boost/math/distributions/normal.hpp> diff --git a/contrib/restricted/boost/math/include/boost/math/special_functions/bessel.hpp b/contrib/restricted/boost/math/include/boost/math/special_functions/bessel.hpp index c32f251bcda..f2f5c3ab2b5 100644 --- a/contrib/restricted/boost/math/include/boost/math/special_functions/bessel.hpp +++ b/contrib/restricted/boost/math/include/boost/math/special_functions/bessel.hpp @@ -96,7 +96,7 @@ BOOST_MATH_GPU_ENABLED inline T sph_bessel_j_small_z_series(unsigned v, T x, con } template <class T, class Policy> -BOOST_MATH_GPU_ENABLED T cyl_bessel_j_imp_final(T v, T x, const bessel_no_int_tag& t, const Policy& pol) +BOOST_MATH_GPU_ENABLED T cyl_bessel_j_imp_final(T v, T x, const bessel_no_int_tag&, const Policy& pol) { BOOST_MATH_STD_USING @@ -264,7 +264,7 @@ BOOST_MATH_GPU_ENABLED T cyl_bessel_i_imp(T v, T x, const Policy& pol) } template <class T, class Policy> -BOOST_MATH_GPU_ENABLED inline T cyl_bessel_k_imp(T v, T x, const bessel_no_int_tag& /* t */, const Policy& pol) +BOOST_MATH_GPU_ENABLED inline T cyl_bessel_k_imp(T v, T x, const bessel_no_int_tag&, const Policy& pol) { constexpr auto function = "boost::math::cyl_bessel_k<%1%>(%1%,%1%)"; BOOST_MATH_STD_USING diff --git a/contrib/restricted/boost/math/include/boost/math/special_functions/detail/bessel_k0.hpp b/contrib/restricted/boost/math/include/boost/math/special_functions/detail/bessel_k0.hpp index bab202b6cdf..a9387c865b4 100644 --- a/contrib/restricted/boost/math/include/boost/math/special_functions/detail/bessel_k0.hpp +++ b/contrib/restricted/boost/math/include/boost/math/special_functions/detail/bessel_k0.hpp @@ -470,7 +470,7 @@ BOOST_MATH_GPU_ENABLED T bessel_k0_imp(const T& x, const boost::math::integral_c BOOST_MATH_BIG_CONSTANT(T, 113, 8.370574966987293592457152146806662562e+03), BOOST_MATH_BIG_CONSTANT(T, 113, 4.871254714311063594080644835895740323e+01) }; - if(x < tools::log_max_value<T>()) + if(-x > tools::log_min_value<T>()) return ((tools::evaluate_rational(P, Q, T(1 / x)) + Y) * exp(-x) / sqrt(x)); else { diff --git a/contrib/restricted/boost/math/include/boost/math/special_functions/gamma.hpp b/contrib/restricted/boost/math/include/boost/math/special_functions/gamma.hpp index 4a15782c019..809d610c185 100644 --- a/contrib/restricted/boost/math/include/boost/math/special_functions/gamma.hpp +++ b/contrib/restricted/boost/math/include/boost/math/special_functions/gamma.hpp @@ -111,11 +111,13 @@ BOOST_MATH_GPU_ENABLED T sinpx(T z) // tgamma(z), with Lanczos support: // template <class T, class Policy, class Lanczos> -BOOST_MATH_GPU_ENABLED T gamma_imp_final(T z, const Policy& pol, const Lanczos&) +BOOST_MATH_GPU_ENABLED T gamma_imp_final(T z, const Policy& pol, const Lanczos& l) { BOOST_MATH_STD_USING + + (void)l; // Suppresses unused variable warning when BOOST_MATH_INSTRUMENT is not defined - T result = 1; + T result = 1; #ifdef BOOST_MATH_INSTRUMENT static bool b = false; diff --git a/contrib/restricted/boost/math/include/boost/math/tools/precision.hpp b/contrib/restricted/boost/math/include/boost/math/tools/precision.hpp index 662657732c5..6e863401d94 100644 --- a/contrib/restricted/boost/math/include/boost/math/tools/precision.hpp +++ b/contrib/restricted/boost/math/include/boost/math/tools/precision.hpp @@ -182,9 +182,13 @@ struct log_limit_traits { typedef typename boost::math::conditional< (boost::math::numeric_limits<T>::radix == 2) && - (boost::math::numeric_limits<T>::max_exponent == 128 - || boost::math::numeric_limits<T>::max_exponent == 1024 - || boost::math::numeric_limits<T>::max_exponent == 16384), + ( + ( boost::math::numeric_limits<T>::max_exponent == 128 + || boost::math::numeric_limits<T>::max_exponent == 1024 + || boost::math::numeric_limits<T>::max_exponent == 16384 + ) + && (-boost::math::numeric_limits<T>::min_exponent10 + 1 == boost::math::numeric_limits<T>::max_exponent10) + ), boost::math::integral_constant<int, (boost::math::numeric_limits<T>::max_exponent > (boost::math::numeric_limits<int>::max)() ? (boost::math::numeric_limits<int>::max)() : static_cast<int>(boost::math::numeric_limits<T>::max_exponent))>, boost::math::integral_constant<int, 0> >::type tag_type; @@ -206,7 +210,7 @@ struct log_limit_noexcept_traits : public log_limit_noexcept_traits_imp<T, boost #endif template <class T> -BOOST_MATH_GPU_ENABLED inline constexpr T log_max_value(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T)) noexcept(detail::log_limit_noexcept_traits<T>::value) +BOOST_MATH_GPU_ENABLED inline T log_max_value(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T)) noexcept(detail::log_limit_noexcept_traits<T>::value) { #ifndef BOOST_MATH_HAS_NVRTC #ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS @@ -223,7 +227,7 @@ BOOST_MATH_GPU_ENABLED inline constexpr T log_max_value(BOOST_MATH_EXPLICIT_TEMP } template <class T> -BOOST_MATH_GPU_ENABLED inline constexpr T log_min_value(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T)) noexcept(detail::log_limit_noexcept_traits<T>::value) +BOOST_MATH_GPU_ENABLED inline T log_min_value(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T)) noexcept(detail::log_limit_noexcept_traits<T>::value) { #ifndef BOOST_MATH_HAS_NVRTC #ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS diff --git a/contrib/restricted/boost/math/ya.make b/contrib/restricted/boost/math/ya.make index 988076c995c..e849921d0ce 100644 --- a/contrib/restricted/boost/math/ya.make +++ b/contrib/restricted/boost/math/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.87.0) +VERSION(1.88.0) -ORIGINAL_SOURCE(https://github.com/boostorg/math/archive/boost-1.87.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/math/archive/boost-1.88.0.tar.gz) PEERDIR( contrib/restricted/boost/assert diff --git a/contrib/restricted/boost/pool/.yandex_meta/default.nix b/contrib/restricted/boost/pool/.yandex_meta/default.nix index 287bbfa3f5b..bc80a55c9e7 100644 --- a/contrib/restricted/boost/pool/.yandex_meta/default.nix +++ b/contrib/restricted/boost/pool/.yandex_meta/default.nix @@ -1,13 +1,13 @@ self: super: with self; { boost_pool = stdenv.mkDerivation rec { pname = "boost_pool"; - version = "1.87.0"; + version = "1.88.0"; src = fetchFromGitHub { owner = "boostorg"; repo = "pool"; rev = "boost-${version}"; - hash = "sha256-epQslfXvCvtVTStR2VBVIKa6I1fkT8AAs3+5bDaBaHw="; + hash = "sha256-JurFimHIzn1P4VHnyiHdCusHKuBINyn019bLXpBbN/M="; }; }; } diff --git a/contrib/restricted/boost/pool/.yandex_meta/devtools.licenses.report b/contrib/restricted/boost/pool/.yandex_meta/devtools.licenses.report index 44487e2d1e0..88236d067f6 100644 --- a/contrib/restricted/boost/pool/.yandex_meta/devtools.licenses.report +++ b/contrib/restricted/boost/pool/.yandex_meta/devtools.licenses.report @@ -63,37 +63,37 @@ BELONGS ya.make Files with this license: LICENSE [1:23] -KEEP BSL-1.0 648ee54e68cb4c96cfd2e41a7a53e0f8 +KEEP BSL-1.0 8f6a7508df640acaeae6c00eb6b48dc2 BELONGS ya.make - License text: - \### License - Distributed under the [Boost Software License, Version 1.0](http://www.boost.org/LICENSE_1_0.txt). + Note: matched license text is too long. Read it in the source files. Scancode info: Original SPDX id: BSL-1.0 - Score : 60.00 + Score : 97.37 Match type : NOTICE Links : http://www.boost.org/LICENSE_1_0.txt, http://www.boost.org/users/license.html, https://spdx.org/licenses/BSL-1.0 Files with this license: - README.md [3:5] + include/boost/pool/detail/pool_construct.ipp [3:6] -KEEP BSL-1.0 8f6a7508df640acaeae6c00eb6b48dc2 +KEEP BSL-1.0 a5006bb276a0e8fcc0c080cd5a14814e BELONGS ya.make Note: matched license text is too long. Read it in the source files. Scancode info: Original SPDX id: BSL-1.0 - Score : 97.37 + Score : 55.00 Match type : NOTICE Links : http://www.boost.org/LICENSE_1_0.txt, http://www.boost.org/users/license.html, https://spdx.org/licenses/BSL-1.0 Files with this license: - include/boost/pool/detail/pool_construct.ipp [3:6] + README.md [33:33] -KEEP BSL-1.0 901941bd35f9f19e23af80f6271c10c4 +KEEP BSL-1.0 a84b62b7fab19a18e7129119ab661542 BELONGS ya.make - Note: matched license text is too long. Read it in the source files. + License text: + \### License + Distributed under the [Boost Software License, Version 1.0](https://www.boost.org/LICENSE_1_0.txt). Scancode info: Original SPDX id: BSL-1.0 - Score : 60.00 + Score : 55.00 Match type : NOTICE Links : http://www.boost.org/LICENSE_1_0.txt, http://www.boost.org/users/license.html, https://spdx.org/licenses/BSL-1.0 Files with this license: - README.md [32:32] + README.md [3:5] diff --git a/contrib/restricted/boost/pool/.yandex_meta/licenses.list.txt b/contrib/restricted/boost/pool/.yandex_meta/licenses.list.txt index e6e0ed12922..6d66d84ceb7 100644 --- a/contrib/restricted/boost/pool/.yandex_meta/licenses.list.txt +++ b/contrib/restricted/boost/pool/.yandex_meta/licenses.list.txt @@ -1,11 +1,11 @@ ====================BSL-1.0==================== ### License -Distributed under the [Boost Software License, Version 1.0](http://www.boost.org/LICENSE_1_0.txt). +Distributed under the [Boost Software License, Version 1.0](https://www.boost.org/LICENSE_1_0.txt). ====================BSL-1.0==================== -* Submit your patches as pull requests against **develop** branch. Note that by submitting patches you agree to license your modifications under the [Boost Software License, Version 1.0](http://www.boost.org/LICENSE_1_0.txt). +* Submit your patches as pull requests against **develop** branch. Note that by submitting patches you agree to license your modifications under the [Boost Software License, Version 1.0](https://www.boost.org/LICENSE_1_0.txt). ====================BSL-1.0==================== diff --git a/contrib/restricted/boost/pool/README.md b/contrib/restricted/boost/pool/README.md index d67c175f331..5ecabca2542 100644 --- a/contrib/restricted/boost/pool/README.md +++ b/contrib/restricted/boost/pool/README.md @@ -1,8 +1,8 @@ -Pool, part of collection of the [Boost C++ Libraries](http://github.com/boostorg), provides an efficient way to handle memory suballocation for fixed-size items. +Pool, part of collection of the [Boost C++ Libraries](https://github.com/boostorg), provides an efficient way to handle memory suballocation for fixed-size items. ### License -Distributed under the [Boost Software License, Version 1.0](http://www.boost.org/LICENSE_1_0.txt). +Distributed under the [Boost Software License, Version 1.0](https://www.boost.org/LICENSE_1_0.txt). ### Properties @@ -11,10 +11,11 @@ Distributed under the [Boost Software License, Version 1.0](http://www.boost.org ### Build Status -Branch | GHA CI | Appveyor | Coverity Scan | codecov.io | Deps | Docs | Tests | -:-------------: | ------ | -------- | ------------- | ---------- | ---- | ---- | ----- | -[`master`](https://github.com/boostorg/pool/tree/master) | [](https://github.com/boostorg/pool/actions?query=branch:master) | [](https://ci.appveyor.com/project/jeking3/pool-6s5a4/branch/master) | [](https://scan.coverity.com/projects/boostorg-pool) | [](https://codecov.io/gh/boostorg/pool/branch/master)| [](https://pdimov.github.io/boostdep-report/master/pool.html) | [](http://www.boost.org/doc/libs/master/doc/html/pool.html) | [](http://www.boost.org/development/tests/master/developer/pool.html) -[`develop`](https://github.com/boostorg/pool/tree/develop) | [](https://github.com/boostorg/pool/actions?query=branch:develop) | [](https://ci.appveyor.com/project/jeking3/pool-6s5a4/branch/develop) | [](https://scan.coverity.com/projects/boostorg-pool) | [](https://codecov.io/gh/boostorg/pool/branch/develop) | [](https://pdimov.github.io/boostdep-report/develop/pool.html) | [](http://www.boost.org/doc/libs/develop/doc/html/pool.html) | [](http://www.boost.org/development/tests/develop/developer/pool.html) +<!-- boost-ci/tools/makebadges.sh --project pool --appveyor j6otdvyec8ycs9h1 --codecov blmk8CZxg2 --coverity 15800 --> +| Branch | GHA CI | Appveyor | Coverity Scan | codecov.io | Deps | Docs | Tests | +| :-------------: | ------ | -------- | ------------- | ---------- | ---- | ---- | ----- | +| [`master`](https://github.com/boostorg/pool/tree/master) | [](https://github.com/boostorg/pool/actions?query=branch:master) | [](https://ci.appveyor.com/project/cppalliance/pool/branch/master) | [](https://scan.coverity.com/projects/boostorg-pool) | [](https://codecov.io/gh/boostorg/pool/tree/master) | [](https://pdimov.github.io/boostdep-report/master/pool.html) | [](https://www.boost.org/doc/libs/master/libs/pool) | [](https://www.boost.org/development/tests/master/developer/pool.html) +| [`develop`](https://github.com/boostorg/pool/tree/develop) | [](https://github.com/boostorg/pool/actions?query=branch:develop) | [](https://ci.appveyor.com/project/cppalliance/pool/branch/develop) | [](https://scan.coverity.com/projects/boostorg-pool) | [](https://codecov.io/gh/boostorg/pool/tree/develop) | [](https://pdimov.github.io/boostdep-report/develop/pool.html) | [](https://www.boost.org/doc/libs/develop/libs/pool) | [](https://www.boost.org/development/tests/develop/developer/pool.html) ### Directories @@ -27,8 +28,8 @@ Branch | GHA CI | Appveyor | Coverity Scan | codecov.io | Deps | Docs | ### More information -* [Ask questions](http://stackoverflow.com/questions/ask?tags=c%2B%2B,boost,boost-pool) +* [Ask questions](https://stackoverflow.com/questions/ask?tags=c%2B%2B,boost,boost-pool) * [Report bugs](https://github.com/boostorg/pool/issues): Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well. -* Submit your patches as pull requests against **develop** branch. Note that by submitting patches you agree to license your modifications under the [Boost Software License, Version 1.0](http://www.boost.org/LICENSE_1_0.txt). -* Discussions about the library are held on the [Boost developers mailing list](http://www.boost.org/community/groups.html#main). Be sure to read the [discussion policy](http://www.boost.org/community/policy.html) before posting and add the `[pool]` tag at the beginning of the subject line. +* Submit your patches as pull requests against **develop** branch. Note that by submitting patches you agree to license your modifications under the [Boost Software License, Version 1.0](https://www.boost.org/LICENSE_1_0.txt). +* Discussions about the library are held on the [Boost developers mailing list](https://www.boost.org/community/groups.html#main). Be sure to read the [discussion policy](https://www.boost.org/community/policy.html) before posting and add the `[pool]` tag at the beginning of the subject line. diff --git a/contrib/restricted/boost/pool/include/boost/pool/pool.hpp b/contrib/restricted/boost/pool/include/boost/pool/pool.hpp index f6d9e6c82f0..3ca16fdbe0f 100644 --- a/contrib/restricted/boost/pool/include/boost/pool/pool.hpp +++ b/contrib/restricted/boost/pool/include/boost/pool/pool.hpp @@ -39,7 +39,7 @@ #ifdef BOOST_POOL_INSTRUMENT #include <iostream> -#include<iomanip> +#include <iomanip> #endif #ifdef BOOST_POOL_VALGRIND #include <set> diff --git a/contrib/restricted/boost/pool/include/boost/pool/simple_segregated_storage.hpp b/contrib/restricted/boost/pool/include/boost/pool/simple_segregated_storage.hpp index e0d8c42b92b..fffd4ee6635 100644 --- a/contrib/restricted/boost/pool/include/boost/pool/simple_segregated_storage.hpp +++ b/contrib/restricted/boost/pool/include/boost/pool/simple_segregated_storage.hpp @@ -328,19 +328,6 @@ void * simple_segregated_storage<SizeType>::try_malloc_n( void * & start, size_type n, const size_type partition_size) { void * iter = nextof(start); - if (n == 1) - { - void * next = nextof(iter); - if (next != static_cast<char *>(iter) + partition_size) - { - start = iter; - return 0; - } - else - { - return iter; - } - } while (--n != 0) { void * next = nextof(iter); diff --git a/contrib/restricted/boost/pool/ya.make b/contrib/restricted/boost/pool/ya.make index ccf63a42378..535ec92bc63 100644 --- a/contrib/restricted/boost/pool/ya.make +++ b/contrib/restricted/boost/pool/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.87.0) +VERSION(1.88.0) -ORIGINAL_SOURCE(https://github.com/boostorg/pool/archive/boost-1.87.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/pool/archive/boost-1.88.0.tar.gz) PEERDIR( contrib/restricted/boost/assert |