aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2023-04-30 00:11:42 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2023-04-30 00:11:42 +0300
commitcd2a690005ea3765f4057f451d1fab5c996401de (patch)
tree96edf561fcdd735eadc3d9e4ee4929ed5fe6a2d1 /contrib
parent4feef55fe9fd067922bb2714ecfc0a746070c566 (diff)
downloadydb-cd2a690005ea3765f4057f451d1fab5c996401de.tar.gz
Update contrib/restricted/boost/mp11 to 1.82.0
Diffstat (limited to 'contrib')
-rw-r--r--contrib/restricted/boost/mp11/include/boost/mp11/algorithm.hpp8
-rw-r--r--contrib/restricted/boost/mp11/include/boost/mp11/version.hpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/contrib/restricted/boost/mp11/include/boost/mp11/algorithm.hpp b/contrib/restricted/boost/mp11/include/boost/mp11/algorithm.hpp
index 06c8e48997..60987a81db 100644
--- a/contrib/restricted/boost/mp11/include/boost/mp11/algorithm.hpp
+++ b/contrib/restricted/boost/mp11/include/boost/mp11/algorithm.hpp
@@ -291,9 +291,9 @@ template<class Q, class... L> using mp_product_q = typename detail::mp_product_i
namespace detail
{
-template<class L, class L2> struct mp_drop_impl;
+template<class L, class L2, class En> struct mp_drop_impl;
-template<template<class...> class L, class... T, template<class...> class L2, class... U> struct mp_drop_impl<L<T...>, L2<U...>>
+template<template<class...> class L, class... T, template<class...> class L2, class... U> struct mp_drop_impl<L<T...>, L2<U...>, mp_true>
{
template<class... W> static mp_identity<L<W...>> f( U*..., mp_identity<W>*... );
@@ -304,9 +304,9 @@ template<template<class...> class L, class... T, template<class...> class L2, cl
} // namespace detail
-template<class L, std::size_t N> using mp_drop_c = typename detail::mp_drop_impl<L, mp_repeat_c<mp_list<void>, N>>::type;
+template<class L, std::size_t N> using mp_drop_c = typename detail::mp_drop_impl<L, mp_repeat_c<mp_list<void>, N>, mp_bool<N <= mp_size<L>::value>>::type;
-template<class L, class N> using mp_drop = typename detail::mp_drop_impl<L, mp_repeat<mp_list<void>, N>>::type;
+template<class L, class N> using mp_drop = mp_drop_c<L, std::size_t{ N::value }>;
// mp_from_sequence<S>
namespace detail
diff --git a/contrib/restricted/boost/mp11/include/boost/mp11/version.hpp b/contrib/restricted/boost/mp11/include/boost/mp11/version.hpp
index 5d14c420e8..318ca01d54 100644
--- a/contrib/restricted/boost/mp11/include/boost/mp11/version.hpp
+++ b/contrib/restricted/boost/mp11/include/boost/mp11/version.hpp
@@ -11,6 +11,6 @@
// Same format as BOOST_VERSION:
// major * 100000 + minor * 100 + patch
-#define BOOST_MP11_VERSION 108100
+#define BOOST_MP11_VERSION 108200
#endif // #ifndef BOOST_MP11_VERSION_HPP_INCLUDED