aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugaevskiy <bugaevskiy@yandex-team.com>2022-08-06 17:28:06 +0300
committerbugaevskiy <bugaevskiy@yandex-team.com>2022-08-06 17:28:06 +0300
commit9c33cade63606ea579200799466de2926504d86a (patch)
treebd5d595c044896ecb3990ad24f73720c1cc1a53c
parent781b376f87c922fb67085b9d2356a324f63ba6df (diff)
downloadydb-9c33cade63606ea579200799466de2926504d86a.tar.gz
Reimport boost/ratio as a separate project
-rw-r--r--CMakeLists.darwin.txt1
-rw-r--r--CMakeLists.linux.txt1
-rw-r--r--contrib/restricted/boost/boost/ratio.hpp14
-rw-r--r--contrib/restricted/boost/boost/ratio/include.hpp16
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/abs.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/arithmetic.hpp22
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/comparison.hpp19
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/divides.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/equal_to.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/gcd.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/greater.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/greater_equal.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/lcm.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/less.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/less_equal.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/minus.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/negate.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/not_equal_to.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/numeric_cast.hpp31
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/plus.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/rational_constant.hpp15
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/sign.hpp30
-rw-r--r--contrib/restricted/boost/boost/ratio/mpl/times.hpp30
-rw-r--r--contrib/restricted/boost/libs/chrono/CMakeLists.darwin.txt1
-rw-r--r--contrib/restricted/boost/libs/chrono/CMakeLists.linux.txt1
-rw-r--r--contrib/restricted/boost/libs/graph/CMakeLists.txt1
-rw-r--r--contrib/restricted/boost/ratio/CMakeLists.txt24
-rw-r--r--contrib/restricted/boost/ratio/README.md8
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/config.hpp (renamed from contrib/restricted/boost/boost/ratio/config.hpp)0
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/detail/mpl/abs.hpp (renamed from contrib/restricted/boost/boost/ratio/detail/mpl/abs.hpp)0
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/detail/mpl/gcd.hpp (renamed from contrib/restricted/boost/boost/ratio/detail/mpl/gcd.hpp)0
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/detail/mpl/lcm.hpp (renamed from contrib/restricted/boost/boost/ratio/detail/mpl/lcm.hpp)0
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/detail/mpl/sign.hpp (renamed from contrib/restricted/boost/boost/ratio/detail/mpl/sign.hpp)0
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/detail/overflow_helpers.hpp (renamed from contrib/restricted/boost/boost/ratio/detail/overflow_helpers.hpp)0
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/detail/ratio_io.hpp (renamed from contrib/restricted/boost/boost/ratio/detail/ratio_io.hpp)0
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/mpl/rational_c_tag.hpp (renamed from contrib/restricted/boost/boost/ratio/mpl/rational_c_tag.hpp)0
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/ratio.hpp (renamed from contrib/restricted/boost/boost/ratio/ratio.hpp)0
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/ratio_fwd.hpp (renamed from contrib/restricted/boost/boost/ratio/ratio_fwd.hpp)0
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/ratio_io.hpp (renamed from contrib/restricted/boost/boost/ratio/ratio_io.hpp)0
39 files changed, 37 insertions, 567 deletions
diff --git a/CMakeLists.darwin.txt b/CMakeLists.darwin.txt
index b039fa13d4..04e11306a4 100644
--- a/CMakeLists.darwin.txt
+++ b/CMakeLists.darwin.txt
@@ -391,6 +391,7 @@ add_subdirectory(contrib/libs/libevent/event_thread)
add_subdirectory(contrib/restricted/boost/libs/thread)
add_subdirectory(contrib/restricted/boost/atomic)
add_subdirectory(contrib/restricted/boost/libs/chrono)
+add_subdirectory(contrib/restricted/boost/ratio)
add_subdirectory(contrib/restricted/uriparser)
add_subdirectory(contrib/libs/cctz/tzdata)
add_subdirectory(contrib/libs/cctz)
diff --git a/CMakeLists.linux.txt b/CMakeLists.linux.txt
index 2315fb59ff..e7731356f8 100644
--- a/CMakeLists.linux.txt
+++ b/CMakeLists.linux.txt
@@ -394,6 +394,7 @@ add_subdirectory(contrib/libs/libevent/event_thread)
add_subdirectory(contrib/restricted/boost/libs/thread)
add_subdirectory(contrib/restricted/boost/atomic)
add_subdirectory(contrib/restricted/boost/libs/chrono)
+add_subdirectory(contrib/restricted/boost/ratio)
add_subdirectory(contrib/restricted/uriparser)
add_subdirectory(contrib/libs/cctz/tzdata)
add_subdirectory(contrib/libs/cctz)
diff --git a/contrib/restricted/boost/boost/ratio.hpp b/contrib/restricted/boost/boost/ratio.hpp
deleted file mode 100644
index 096fe627d8..0000000000
--- a/contrib/restricted/boost/boost/ratio.hpp
+++ /dev/null
@@ -1,14 +0,0 @@
-// ratio.hpp ---------------------------------------------------------------//
-
-// Copyright 2010 Vicente J. Botet Escriba
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-
-#ifndef BOOST_RATIO_HPP
-#define BOOST_RATIO_HPP
-
-#include <boost/ratio/include.hpp>
-
-#endif // BOOST_RATIO_HPP
diff --git a/contrib/restricted/boost/boost/ratio/include.hpp b/contrib/restricted/boost/boost/ratio/include.hpp
deleted file mode 100644
index 2fc13a4889..0000000000
--- a/contrib/restricted/boost/boost/ratio/include.hpp
+++ /dev/null
@@ -1,16 +0,0 @@
-// include.hpp ---------------------------------------------------------------//
-
-// Copyright 2011 Vicente J. Botet Escriba
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-#ifndef BOOST_RATIO_INCLUDE_HPP
-#define BOOST_RATIO_INCLUDE_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/ratio_io.hpp>
-#ifdef BOOST_RATIO_EXTENSIONS
-#include <boost/ratio/mpl/rational_constant.hpp>
-#endif
-#endif // BOOST_RATIO_INCLUDE_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/abs.hpp b/contrib/restricted/boost/boost/ratio/mpl/abs.hpp
deleted file mode 100644
index 4d94fdc228..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/abs.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// abs.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_ABS_HPP
-#define BOOST_RATIO_MPL_ABS_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/ratio/detail/mpl/abs.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct abs_impl< rational_c_tag >
-{
- template< typename R > struct apply
- : ratio_abs<R>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_ABS_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/arithmetic.hpp b/contrib/restricted/boost/boost/ratio/mpl/arithmetic.hpp
deleted file mode 100644
index 95e8215eae..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/arithmetic.hpp
+++ /dev/null
@@ -1,22 +0,0 @@
-// arithmetic.hpp ---------------------------------------------------------------//
-
-// Copyright 2011 Vicente J. Botet Escriba
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-
-#ifndef BOOST_RATIO_MPL_ARITHMETIC_HPP
-#define BOOST_RATIO_MPL_ARITHMETIC_HPP
-
-#include <boost/ratio/mpl/plus.hpp>
-#include <boost/ratio/mpl/minus.hpp>
-#include <boost/ratio/mpl/times.hpp>
-#include <boost/ratio/mpl/divides.hpp>
-#include <boost/ratio/mpl/negate.hpp>
-#include <boost/ratio/mpl/abs.hpp>
-#include <boost/ratio/mpl/sign.hpp>
-#include <boost/ratio/mpl/gcd.hpp>
-#include <boost/ratio/mpl/lcm.hpp>
-
-#endif // BOOST_RATIO_MPL_ARITHMETIC_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/comparison.hpp b/contrib/restricted/boost/boost/ratio/mpl/comparison.hpp
deleted file mode 100644
index 942bf494c3..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/comparison.hpp
+++ /dev/null
@@ -1,19 +0,0 @@
-// comparison.hpp ---------------------------------------------------------------//
-
-// Copyright 2011 Vicente J. Botet Escriba
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-
-#ifndef BOOST_RATIO_MPL_COMPARISON_HPP
-#define BOOST_RATIO_MPL_COMPARISON_HPP
-
-#include <boost/ratio/mpl/equal_to.hpp>
-#include <boost/ratio/mpl/not_equal_to.hpp>
-#include <boost/ratio/mpl/less.hpp>
-#include <boost/ratio/mpl/less_equal.hpp>
-#include <boost/ratio/mpl/greater.hpp>
-#include <boost/ratio/mpl/greater_equal.hpp>
-
-#endif // BOOST_RATIO_MPL_COMPARISON_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/divides.hpp b/contrib/restricted/boost/boost/ratio/mpl/divides.hpp
deleted file mode 100644
index 03186f7df1..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/divides.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// divides.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_DIVIDES_HPP
-#define BOOST_RATIO_MPL_DIVIDES_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/mpl/divides.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct divides_impl< rational_c_tag,rational_c_tag >
-{
- template< typename R1, typename R2 > struct apply
- : ratio_divide<R1, R2>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_DIVIDES_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/equal_to.hpp b/contrib/restricted/boost/boost/ratio/mpl/equal_to.hpp
deleted file mode 100644
index 63358d192b..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/equal_to.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// equal_to.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_EQUAL_TO_HPP
-#define BOOST_RATIO_MPL_EQUAL_TO_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/mpl/equal_to.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct equal_to_impl< rational_c_tag,rational_c_tag >
-{
- template< typename R1, typename R2 > struct apply
- : ratio_equal<R1, R2>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_EQUAL_TO_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/gcd.hpp b/contrib/restricted/boost/boost/ratio/mpl/gcd.hpp
deleted file mode 100644
index 5d7ed72143..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/gcd.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// gcd.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_GCD_HPP
-#define BOOST_RATIO_MPL_GCD_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/ratio/detail/mpl/gcd.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct gcd_impl< rational_c_tag,rational_c_tag >
-{
- template< typename R1, typename R2 > struct apply
- : ratio_gcd<R1, R2>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_GCD_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/greater.hpp b/contrib/restricted/boost/boost/ratio/mpl/greater.hpp
deleted file mode 100644
index 73832167ac..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/greater.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// greater.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_GREATER_HPP
-#define BOOST_RATIO_MPL_GREATER_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/mpl/greater.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct greater_impl< rational_c_tag,rational_c_tag >
-{
- template< typename R1, typename R2 > struct apply
- : ratio_greater<R1, R2>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_GREATER_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/greater_equal.hpp b/contrib/restricted/boost/boost/ratio/mpl/greater_equal.hpp
deleted file mode 100644
index 7fea293b47..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/greater_equal.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// greater_equal.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_GREATER_EQUAL_HPP
-#define BOOST_RATIO_MPL_GREATER_EQUAL_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/mpl/greater_equal.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct greater_equal_impl< rational_c_tag,rational_c_tag >
-{
- template< typename R1, typename R2 > struct apply
- : ratio_greater_equal<R1, R2>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_GREATER_EQUAL_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/lcm.hpp b/contrib/restricted/boost/boost/ratio/mpl/lcm.hpp
deleted file mode 100644
index 5d1a5a9836..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/lcm.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// lcm.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_LCM_HPP
-#define BOOST_RATIO_MPL_LCM_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/ratio/detail/mpl/lcm.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct lcm_impl< rational_c_tag,rational_c_tag >
-{
- template< typename R1, typename R2 > struct apply
- : ratio_lcm<R1, R2>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_LCM_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/less.hpp b/contrib/restricted/boost/boost/ratio/mpl/less.hpp
deleted file mode 100644
index 3bb37c3e6b..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/less.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// less.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_LESS_HPP
-#define BOOST_RATIO_MPL_LESS_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/mpl/less.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct less_impl< rational_c_tag,rational_c_tag >
-{
- template< typename R1, typename R2 > struct apply
- : ratio_less<R1, R2>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_LESS_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/less_equal.hpp b/contrib/restricted/boost/boost/ratio/mpl/less_equal.hpp
deleted file mode 100644
index 017ddc23b7..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/less_equal.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// less_equal.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_LESS_EQUAL_HPP
-#define BOOST_RATIO_MPL_LESS_EQUAL_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/mpl/less_equal.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct less_equal_impl< rational_c_tag,rational_c_tag >
-{
- template< typename R1, typename R2 > struct apply
- : ratio_less_equal<R1, R2>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_LESS_EQUAL_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/minus.hpp b/contrib/restricted/boost/boost/ratio/mpl/minus.hpp
deleted file mode 100644
index ef2952fdf9..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/minus.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// minus.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_MINUS_HPP
-#define BOOST_RATIO_MPL_MINUS_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/mpl/minus.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct minus_impl< rational_c_tag,rational_c_tag >
-{
- template< typename R1, typename R2 > struct apply
- : ratio_subtract<R1, R2>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_MINUS_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/negate.hpp b/contrib/restricted/boost/boost/ratio/mpl/negate.hpp
deleted file mode 100644
index dbc0b669f2..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/negate.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// negate.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_NEGATE_HPP
-#define BOOST_RATIO_MPL_NEGATE_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/mpl/negate.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct negate_impl< rational_c_tag >
-{
- template< typename R > struct apply
- : ratio_negate<R>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_NEGATE_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/not_equal_to.hpp b/contrib/restricted/boost/boost/ratio/mpl/not_equal_to.hpp
deleted file mode 100644
index bfda6ddaa8..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/not_equal_to.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// not_equal_to.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_NOT_EQUAL_TO_HPP
-#define BOOST_RATIO_MPL_NOT_EQUAL_TO_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/mpl/not_equal_to.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct not_equal_to_impl< rational_c_tag,rational_c_tag >
-{
- template< typename R1, typename R2 > struct apply
- : ratio_not_equal<R1, R2>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_NOT_EQUAL_TO_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/numeric_cast.hpp b/contrib/restricted/boost/boost/ratio/mpl/numeric_cast.hpp
deleted file mode 100644
index 3251e631df..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/numeric_cast.hpp
+++ /dev/null
@@ -1,31 +0,0 @@
-// numeric_cast.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_NUMERIC_CAST_HPP
-#define BOOST_RATIO_MPL_NUMERIC_CAST_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/mpl/integral_c.hpp>
-#include <boost/ratio/mpl/rational_c_tag.hpp>
-#include <boost/mpl/numeric_cast.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<> struct numeric_cast< integral_c_tag,rational_c_tag >
-{
- template< typename N > struct apply
- : ratio< N::value, 1 >
- {
- };
-};
-
-}
-}
-
-#endif // BOOST_RATIO_MPL_NUMERIC_CAST_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/plus.hpp b/contrib/restricted/boost/boost/ratio/mpl/plus.hpp
deleted file mode 100644
index a3d137d5c7..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/plus.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// plus.hpp
-//
-// (C) Copyright 2011Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_PLUS_HPP
-#define BOOST_RATIO_MPL_PLUS_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/mpl/plus.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct plus_impl< rational_c_tag,rational_c_tag >
-{
- template< typename R1, typename R2 > struct apply
- : ratio_add<R1, R2>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_PLUS_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/rational_constant.hpp b/contrib/restricted/boost/boost/ratio/mpl/rational_constant.hpp
deleted file mode 100644
index fde9a3d275..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/rational_constant.hpp
+++ /dev/null
@@ -1,15 +0,0 @@
-// rational_constant.hpp ---------------------------------------------------------------//
-// Copyright 2011 Vicente J. Botet Escriba
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-
-#ifndef BOOST_RATIO_MPL_RATIONAL_CONSTANT_HPP
-#define BOOST_RATIO_MPL_RATIONAL_CONSTANT_HPP
-
-#include <boost/ratio/mpl/rational_c_tag.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/ratio/mpl/arithmetic.hpp>
-#include <boost/ratio/mpl/comparison.hpp>
-
-#endif // BOOST_RATIO_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/sign.hpp b/contrib/restricted/boost/boost/ratio/mpl/sign.hpp
deleted file mode 100644
index f8b73721e3..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/sign.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// sign.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_SIGN_HPP
-#define BOOST_RATIO_MPL_SIGN_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/ratio/detail/mpl/sign.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct sign_impl< rational_c_tag >
-{
- template< typename R > struct apply
- : ratio_sign<R>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_SIGN_HPP
diff --git a/contrib/restricted/boost/boost/ratio/mpl/times.hpp b/contrib/restricted/boost/boost/ratio/mpl/times.hpp
deleted file mode 100644
index a8e5f60787..0000000000
--- a/contrib/restricted/boost/boost/ratio/mpl/times.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// times.hpp
-//
-// (C) Copyright 2011 Vicente J. Botet Escriba
-// Use, modification and distribution are subject to the Boost Software License,
-// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt).
-//
-
-#ifndef BOOST_RATIO_MPL_TIMES_HPP
-#define BOOST_RATIO_MPL_TIMES_HPP
-
-#include <boost/ratio/ratio.hpp>
-#include <boost/ratio/mpl/numeric_cast.hpp>
-#include <boost/mpl/times.hpp>
-
-namespace boost {
-namespace mpl {
-
-template<>
-struct times_impl< rational_c_tag,rational_c_tag >
-{
- template< typename R1, typename R2 > struct apply
- : ratio_multiply<R1, R2>
- {
- };
-};
-}
-}
-
-#endif // BOOST_RATIO_MPL_TIMES_HPP
diff --git a/contrib/restricted/boost/libs/chrono/CMakeLists.darwin.txt b/contrib/restricted/boost/libs/chrono/CMakeLists.darwin.txt
index 66885bfd75..c41d89a001 100644
--- a/contrib/restricted/boost/libs/chrono/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/libs/chrono/CMakeLists.darwin.txt
@@ -33,6 +33,7 @@ target_compile_options(boost-libs-chrono PRIVATE
target_link_libraries(boost-libs-chrono PUBLIC
contrib-libs-cxxsupp
contrib-restricted-boost
+ restricted-boost-ratio
restricted-boost-system
)
target_sources(boost-libs-chrono PRIVATE
diff --git a/contrib/restricted/boost/libs/chrono/CMakeLists.linux.txt b/contrib/restricted/boost/libs/chrono/CMakeLists.linux.txt
index 1004f03fef..2c02092aa4 100644
--- a/contrib/restricted/boost/libs/chrono/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/libs/chrono/CMakeLists.linux.txt
@@ -32,6 +32,7 @@ target_compile_options(boost-libs-chrono PRIVATE
target_link_libraries(boost-libs-chrono PUBLIC
contrib-libs-cxxsupp
contrib-restricted-boost
+ restricted-boost-ratio
restricted-boost-system
)
target_sources(boost-libs-chrono PRIVATE
diff --git a/contrib/restricted/boost/libs/graph/CMakeLists.txt b/contrib/restricted/boost/libs/graph/CMakeLists.txt
index 0cefef1cf8..bff7dae152 100644
--- a/contrib/restricted/boost/libs/graph/CMakeLists.txt
+++ b/contrib/restricted/boost/libs/graph/CMakeLists.txt
@@ -14,4 +14,5 @@ target_link_libraries(boost-libs-graph INTERFACE
restricted-boost-atomic
restricted-boost-exception
boost-libs-filesystem
+ boost-libs-thread
)
diff --git a/contrib/restricted/boost/ratio/CMakeLists.txt b/contrib/restricted/boost/ratio/CMakeLists.txt
new file mode 100644
index 0000000000..be55f69ae3
--- /dev/null
+++ b/contrib/restricted/boost/ratio/CMakeLists.txt
@@ -0,0 +1,24 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(restricted-boost-ratio INTERFACE)
+target_include_directories(restricted-boost-ratio INTERFACE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/ratio/include
+)
+target_link_libraries(restricted-boost-ratio INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ restricted-boost-config
+ restricted-boost-core
+ restricted-boost-integer
+ restricted-boost-mpl
+ restricted-boost-rational
+ restricted-boost-static_assert
+ restricted-boost-type_traits
+)
diff --git a/contrib/restricted/boost/ratio/README.md b/contrib/restricted/boost/ratio/README.md
new file mode 100644
index 0000000000..28aae8487c
--- /dev/null
+++ b/contrib/restricted/boost/ratio/README.md
@@ -0,0 +1,8 @@
+ratio
+======
+
+Compile time rational arithmetic. C++11.
+
+### License
+
+Distributed under the [Boost Software License, Version 1.0](http://boost.org/LICENSE_1_0.txt).
diff --git a/contrib/restricted/boost/boost/ratio/config.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/config.hpp
index 992a256d81..992a256d81 100644
--- a/contrib/restricted/boost/boost/ratio/config.hpp
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/config.hpp
diff --git a/contrib/restricted/boost/boost/ratio/detail/mpl/abs.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/detail/mpl/abs.hpp
index 91545888a9..91545888a9 100644
--- a/contrib/restricted/boost/boost/ratio/detail/mpl/abs.hpp
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/detail/mpl/abs.hpp
diff --git a/contrib/restricted/boost/boost/ratio/detail/mpl/gcd.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/detail/mpl/gcd.hpp
index 30ba1db91c..30ba1db91c 100644
--- a/contrib/restricted/boost/boost/ratio/detail/mpl/gcd.hpp
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/detail/mpl/gcd.hpp
diff --git a/contrib/restricted/boost/boost/ratio/detail/mpl/lcm.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/detail/mpl/lcm.hpp
index 1792660f06..1792660f06 100644
--- a/contrib/restricted/boost/boost/ratio/detail/mpl/lcm.hpp
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/detail/mpl/lcm.hpp
diff --git a/contrib/restricted/boost/boost/ratio/detail/mpl/sign.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/detail/mpl/sign.hpp
index fa1c555348..fa1c555348 100644
--- a/contrib/restricted/boost/boost/ratio/detail/mpl/sign.hpp
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/detail/mpl/sign.hpp
diff --git a/contrib/restricted/boost/boost/ratio/detail/overflow_helpers.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/detail/overflow_helpers.hpp
index ffaa603a65..ffaa603a65 100644
--- a/contrib/restricted/boost/boost/ratio/detail/overflow_helpers.hpp
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/detail/overflow_helpers.hpp
diff --git a/contrib/restricted/boost/boost/ratio/detail/ratio_io.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/detail/ratio_io.hpp
index 636dbc22f8..636dbc22f8 100644
--- a/contrib/restricted/boost/boost/ratio/detail/ratio_io.hpp
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/detail/ratio_io.hpp
diff --git a/contrib/restricted/boost/boost/ratio/mpl/rational_c_tag.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/mpl/rational_c_tag.hpp
index 743766ffa0..743766ffa0 100644
--- a/contrib/restricted/boost/boost/ratio/mpl/rational_c_tag.hpp
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/mpl/rational_c_tag.hpp
diff --git a/contrib/restricted/boost/boost/ratio/ratio.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/ratio.hpp
index 824cbf0173..824cbf0173 100644
--- a/contrib/restricted/boost/boost/ratio/ratio.hpp
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/ratio.hpp
diff --git a/contrib/restricted/boost/boost/ratio/ratio_fwd.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/ratio_fwd.hpp
index cd9199f393..cd9199f393 100644
--- a/contrib/restricted/boost/boost/ratio/ratio_fwd.hpp
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/ratio_fwd.hpp
diff --git a/contrib/restricted/boost/boost/ratio/ratio_io.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/ratio_io.hpp
index e39cbaffa5..e39cbaffa5 100644
--- a/contrib/restricted/boost/boost/ratio/ratio_io.hpp
+++ b/contrib/restricted/boost/ratio/include/boost/ratio/ratio_io.hpp