diff options
author | bugaevskiy <bugaevskiy@yandex-team.com> | 2022-08-07 21:20:06 +0300 |
---|---|---|
committer | bugaevskiy <bugaevskiy@yandex-team.com> | 2022-08-07 21:20:06 +0300 |
commit | 00da69bd77782a0a897a0ace0e4085d35910bd2f (patch) | |
tree | 914c0b9a82497d4813247e6fb2ed4422e3f39674 /contrib/restricted | |
parent | 487a04911c0de87f90720cce0a9407083b460892 (diff) | |
download | ydb-00da69bd77782a0a897a0ace0e4085d35910bd2f.tar.gz |
Reimport boost/numeric_conversion as a separate project
Diffstat (limited to 'contrib/restricted')
29 files changed, 33 insertions, 115 deletions
diff --git a/contrib/restricted/boost/CMakeLists.txt b/contrib/restricted/boost/CMakeLists.txt index 89af20b000..c688fd0891 100644 --- a/contrib/restricted/boost/CMakeLists.txt +++ b/contrib/restricted/boost/CMakeLists.txt @@ -33,6 +33,7 @@ target_link_libraries(contrib-restricted-boost INTERFACE restricted-boost-move restricted-boost-mp11 restricted-boost-mpl + restricted-boost-numeric_conversion restricted-boost-optional restricted-boost-polygon restricted-boost-predef diff --git a/contrib/restricted/boost/boost/numeric/conversion/int_float_mixture.hpp b/contrib/restricted/boost/boost/numeric/conversion/int_float_mixture.hpp deleted file mode 100644 index d6dd5ab7c2..0000000000 --- a/contrib/restricted/boost/boost/numeric/conversion/int_float_mixture.hpp +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004 -// Use, modification, and distribution is 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) - -// See library home page at http://www.boost.org/libs/numeric/conversion -// -// Contact the author at: fernando_cacciola@hotmail.com -// -#ifndef BOOST_NUMERIC_CONVERSION_INT_FLOAT_MIXTURE_FLC_12NOV2002_HPP -#define BOOST_NUMERIC_CONVERSION_INT_FLOAT_MIXTURE_FLC_12NOV2002_HPP - -#include "boost/numeric/conversion/detail/int_float_mixture.hpp" - -namespace boost { namespace numeric -{ - -template<class T, class S> -struct int_float_mixture - : convdetail::get_int_float_mixture< BOOST_DEDUCED_TYPENAME remove_cv<T>::type - ,BOOST_DEDUCED_TYPENAME remove_cv<S>::type - >::type {} ; - -} } // namespace boost::numeric - -#endif -// -/////////////////////////////////////////////////////////////////////////////////////////////// - - diff --git a/contrib/restricted/boost/boost/numeric/conversion/is_subranged.hpp b/contrib/restricted/boost/boost/numeric/conversion/is_subranged.hpp deleted file mode 100644 index c5fa0dd103..0000000000 --- a/contrib/restricted/boost/boost/numeric/conversion/is_subranged.hpp +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004 -// Use, modification, and distribution is 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) - -// See library home page at http://www.boost.org/libs/numeric/conversion -// -// Contact the author at: fernando_cacciola@hotmail.com -// -#ifndef BOOST_NUMERIC_CONVERSION_IS_SUBRANGED_FLC_12NOV2002_HPP -#define BOOST_NUMERIC_CONVERSION_IS_SUBRANGED_FLC_12NOV2002_HPP - -#include "boost/numeric/conversion/detail/is_subranged.hpp" - -namespace boost { namespace numeric { - -template<class T, class S> -struct is_subranged - : convdetail::get_is_subranged< BOOST_DEDUCED_TYPENAME remove_cv<T>::type - ,BOOST_DEDUCED_TYPENAME remove_cv<S>::type - >::type {} ; - -} } // namespace boost::numeric - -#endif - - diff --git a/contrib/restricted/boost/boost/numeric/conversion/sign_mixture.hpp b/contrib/restricted/boost/boost/numeric/conversion/sign_mixture.hpp deleted file mode 100644 index 12018141c3..0000000000 --- a/contrib/restricted/boost/boost/numeric/conversion/sign_mixture.hpp +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004 -// Use, modification, and distribution is 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) - -// See library home page at http://www.boost.org/libs/numeric/conversion -// -// Contact the author at: fernando_cacciola@hotmail.com -// -#ifndef BOOST_NUMERIC_CONVERSION_SIGN_MIXTURE_FLC_12NOV2002_HPP -#define BOOST_NUMERIC_CONVERSION_SIGN_MIXTURE_FLC_12NOV2002_HPP - -#include "boost/numeric/conversion/detail/sign_mixture.hpp" - -namespace boost { namespace numeric -{ - -template<class T, class S> -struct sign_mixture - : convdetail::get_sign_mixture< BOOST_DEDUCED_TYPENAME remove_cv<T>::type - ,BOOST_DEDUCED_TYPENAME remove_cv<S>::type - >::type {} ; - -} } // namespace boost::numeric - -#endif -// -/////////////////////////////////////////////////////////////////////////////////////////////// - - diff --git a/contrib/restricted/boost/boost/numeric/conversion/udt_builtin_mixture.hpp b/contrib/restricted/boost/boost/numeric/conversion/udt_builtin_mixture.hpp deleted file mode 100644 index a62e37d8e0..0000000000 --- a/contrib/restricted/boost/boost/numeric/conversion/udt_builtin_mixture.hpp +++ /dev/null @@ -1,28 +0,0 @@ -// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004 -// Use, modification, and distribution is 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) - -// See library home page at http://www.boost.org/libs/numeric/conversion -// -// Contact the author at: fernando_cacciola@hotmail.com -// -#ifndef BOOST_NUMERIC_CONVERSION_UDT_BUILTIN_MIXTURE_FLC_12NOV2002_HPP -#define BOOST_NUMERIC_CONVERSION_UDT_BUILTIN_MIXTURE_FLC_12NOV2002_HPP - -#include "boost/numeric/conversion/detail/udt_builtin_mixture.hpp" - -namespace boost { namespace numeric -{ - -template<class T, class S> -struct udt_builtin_mixture - : convdetail::get_udt_builtin_mixture< BOOST_DEDUCED_TYPENAME remove_cv<T>::type - ,BOOST_DEDUCED_TYPENAME remove_cv<S>::type - >::type {} ; - -} } // namespace boost::numeric - -#endif - - diff --git a/contrib/restricted/boost/numeric_conversion/CMakeLists.txt b/contrib/restricted/boost/numeric_conversion/CMakeLists.txt new file mode 100644 index 0000000000..ffb9a1d127 --- /dev/null +++ b/contrib/restricted/boost/numeric_conversion/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-numeric_conversion INTERFACE) +target_include_directories(restricted-boost-numeric_conversion INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/numeric_conversion/include +) +target_link_libraries(restricted-boost-numeric_conversion INTERFACE + contrib-libs-cxxsupp + yutil + restricted-boost-config + restricted-boost-conversion + restricted-boost-core + restricted-boost-mpl + restricted-boost-preprocessor + restricted-boost-throw_exception + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/numeric_conversion/README.md b/contrib/restricted/boost/numeric_conversion/README.md new file mode 100644 index 0000000000..987f0ecf6b --- /dev/null +++ b/contrib/restricted/boost/numeric_conversion/README.md @@ -0,0 +1,8 @@ +# Boost.NumericConversion + +The Boost Numeric Conversion library is a collection of tools to describe and perform conversions between values of different [numeric types][1]. + +The documentation for the library can be found [here][2] + +[1]: http://www.boost.org/doc/libs/release/libs/numeric/conversion/doc/html/boost_numericconversion/definitions.html#boost_numericconversion.definitions.numeric_types +[2]: http://www.boost.org/doc/libs/release/libs/numeric/conversion/doc/html/index.html#numeric_conversion.overview diff --git a/contrib/restricted/boost/boost/cast.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/cast.hpp index ab452bdf16..ab452bdf16 100644 --- a/contrib/restricted/boost/boost/cast.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/cast.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/bounds.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/bounds.hpp index e4c7c7deee..e4c7c7deee 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/bounds.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/bounds.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/cast.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/cast.hpp index 61286c1311..61286c1311 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/cast.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/cast.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/conversion_traits.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/conversion_traits.hpp index 23e0eb8c9a..23e0eb8c9a 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/conversion_traits.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/conversion_traits.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/converter.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/converter.hpp index 331caddea5..331caddea5 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/converter.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/converter.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/converter_policies.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/converter_policies.hpp index 57a255d451..57a255d451 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/converter_policies.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/converter_policies.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/detail/bounds.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/bounds.hpp index 67342b8e57..67342b8e57 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/detail/bounds.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/bounds.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/detail/conversion_traits.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/conversion_traits.hpp index ed25349c67..ed25349c67 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/detail/conversion_traits.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/conversion_traits.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/detail/converter.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/converter.hpp index f7bf7b4436..f7bf7b4436 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/detail/converter.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/converter.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/detail/int_float_mixture.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/int_float_mixture.hpp index 464e52753f..464e52753f 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/detail/int_float_mixture.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/int_float_mixture.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/detail/is_subranged.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/is_subranged.hpp index b5e7fe8f1e..b5e7fe8f1e 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/detail/is_subranged.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/is_subranged.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/detail/meta.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/meta.hpp index 246a1b4702..246a1b4702 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/detail/meta.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/meta.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/detail/numeric_cast_traits.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/numeric_cast_traits.hpp index 150490d935..150490d935 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/detail/numeric_cast_traits.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/numeric_cast_traits.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/detail/old_numeric_cast.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/old_numeric_cast.hpp index 9901ed2ae3..9901ed2ae3 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/detail/old_numeric_cast.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/old_numeric_cast.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp index 01dc9321b3..01dc9321b3 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp index b358b9c41f..b358b9c41f 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/detail/sign_mixture.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/sign_mixture.hpp index c7f9e42afe..c7f9e42afe 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/detail/sign_mixture.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/sign_mixture.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/detail/udt_builtin_mixture.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/udt_builtin_mixture.hpp index 36dbc491b5..36dbc491b5 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/detail/udt_builtin_mixture.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/udt_builtin_mixture.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/int_float_mixture_enum.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/int_float_mixture_enum.hpp index d0c2daacfc..d0c2daacfc 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/int_float_mixture_enum.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/int_float_mixture_enum.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/numeric_cast_traits.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/numeric_cast_traits.hpp index e24296bc7e..e24296bc7e 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/numeric_cast_traits.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/numeric_cast_traits.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/sign_mixture_enum.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/sign_mixture_enum.hpp index 1525f8d33c..1525f8d33c 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/sign_mixture_enum.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/sign_mixture_enum.hpp diff --git a/contrib/restricted/boost/boost/numeric/conversion/udt_builtin_mixture_enum.hpp b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/udt_builtin_mixture_enum.hpp index 2540e80630..2540e80630 100644 --- a/contrib/restricted/boost/boost/numeric/conversion/udt_builtin_mixture_enum.hpp +++ b/contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/udt_builtin_mixture_enum.hpp |