aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugaevskiy <bugaevskiy@yandex-team.com>2022-08-05 21:02:31 +0300
committerbugaevskiy <bugaevskiy@yandex-team.com>2022-08-05 21:02:31 +0300
commite2d7dcfcf2f7491a197faa5f43ef5e401600b1c2 (patch)
treef454b9c1ef310e6d879fd48c220e9a23302c51f8
parentbe3095272e41e3ff7b868826c884699e9596fa43 (diff)
downloadydb-e2d7dcfcf2f7491a197faa5f43ef5e401600b1c2.tar.gz
Reimport boost/exception as a separate project
-rw-r--r--CMakeLists.darwin.txt11
-rw-r--r--CMakeLists.linux.txt11
-rw-r--r--contrib/restricted/boost/CMakeLists.txt1
-rw-r--r--contrib/restricted/boost/boost/exception/all.hpp27
-rw-r--r--contrib/restricted/boost/boost/exception/enable_current_exception.hpp11
-rw-r--r--contrib/restricted/boost/boost/exception/errinfo_api_function.hpp22
-rw-r--r--contrib/restricted/boost/boost/exception/errinfo_errno.hpp46
-rw-r--r--contrib/restricted/boost/boost/exception/errinfo_file_handle.hpp20
-rw-r--r--contrib/restricted/boost/boost/exception/errinfo_file_name.hpp26
-rw-r--r--contrib/restricted/boost/boost/exception/errinfo_file_open_mode.hpp26
-rw-r--r--contrib/restricted/boost/boost/exception/errinfo_nested_exception.hpp18
-rw-r--r--contrib/restricted/boost/boost/exception/errinfo_type_info_name.hpp23
-rw-r--r--contrib/restricted/boost/boost/exception/error_info.hpp9
-rw-r--r--contrib/restricted/boost/boost/exception/info_tuple.hpp101
-rw-r--r--contrib/restricted/boost/exception/CMakeLists.txt27
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/current_exception_cast.hpp (renamed from contrib/restricted/boost/boost/exception/current_exception_cast.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/detail/clone_current_exception.hpp (renamed from contrib/restricted/boost/boost/exception/detail/clone_current_exception.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/detail/error_info_impl.hpp (renamed from contrib/restricted/boost/boost/exception/detail/error_info_impl.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/detail/exception_ptr.hpp (renamed from contrib/restricted/boost/boost/exception/detail/exception_ptr.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/detail/is_output_streamable.hpp (renamed from contrib/restricted/boost/boost/exception/detail/is_output_streamable.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/detail/object_hex_dump.hpp (renamed from contrib/restricted/boost/boost/exception/detail/object_hex_dump.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/detail/shared_ptr.hpp (renamed from contrib/restricted/boost/boost/exception/detail/shared_ptr.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/detail/type_info.hpp (renamed from contrib/restricted/boost/boost/exception/detail/type_info.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/diagnostic_information.hpp (renamed from contrib/restricted/boost/boost/exception/diagnostic_information.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/enable_error_info.hpp (renamed from contrib/restricted/boost/boost/exception/enable_error_info.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/errinfo_at_line.hpp (renamed from contrib/restricted/boost/boost/exception/errinfo_at_line.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/get_error_info.hpp (renamed from contrib/restricted/boost/boost/exception/get_error_info.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/info.hpp (renamed from contrib/restricted/boost/boost/exception/info.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/to_string.hpp (renamed from contrib/restricted/boost/boost/exception/to_string.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception/to_string_stub.hpp (renamed from contrib/restricted/boost/boost/exception/to_string_stub.hpp)0
-rw-r--r--contrib/restricted/boost/exception/include/boost/exception_ptr.hpp (renamed from contrib/restricted/boost/boost/exception_ptr.hpp)0
-rw-r--r--contrib/restricted/boost/exception/src/clone_current_exception_non_intrusive.cpp (renamed from contrib/restricted/boost/libs/exception/src/clone_current_exception_non_intrusive.cpp)0
-rw-r--r--contrib/restricted/boost/libs/graph/CMakeLists.txt1
-rw-r--r--contrib/restricted/boost/libs/thread/CMakeLists.darwin.txt1
-rw-r--r--contrib/restricted/boost/libs/thread/CMakeLists.linux.txt1
35 files changed, 43 insertions, 339 deletions
diff --git a/CMakeLists.darwin.txt b/CMakeLists.darwin.txt
index 2e34cfb148d..fd1fd76c16f 100644
--- a/CMakeLists.darwin.txt
+++ b/CMakeLists.darwin.txt
@@ -360,19 +360,20 @@ add_subdirectory(contrib/restricted/boost/static_assert)
add_subdirectory(contrib/restricted/boost/throw_exception)
add_subdirectory(contrib/restricted/boost/array)
add_subdirectory(contrib/restricted/boost/bind)
+add_subdirectory(contrib/restricted/boost/exception)
+add_subdirectory(contrib/restricted/boost/smart_ptr)
+add_subdirectory(contrib/restricted/boost/move)
+add_subdirectory(contrib/restricted/boost/predef)
+add_subdirectory(contrib/restricted/boost/type_traits)
+add_subdirectory(contrib/restricted/boost/tuple)
add_subdirectory(contrib/restricted/boost/integer)
add_subdirectory(contrib/restricted/boost/io)
add_subdirectory(contrib/restricted/boost/logic)
-add_subdirectory(contrib/restricted/boost/move)
add_subdirectory(contrib/restricted/boost/mp11)
add_subdirectory(contrib/restricted/boost/mpl)
-add_subdirectory(contrib/restricted/boost/predef)
add_subdirectory(contrib/restricted/boost/preprocessor)
-add_subdirectory(contrib/restricted/boost/type_traits)
add_subdirectory(contrib/restricted/boost/utility)
add_subdirectory(contrib/restricted/boost/rational)
-add_subdirectory(contrib/restricted/boost/smart_ptr)
-add_subdirectory(contrib/restricted/boost/tuple)
add_subdirectory(contrib/restricted/boost/vmd)
add_subdirectory(contrib/restricted/boost/winapi)
add_subdirectory(contrib/restricted/fast_float)
diff --git a/CMakeLists.linux.txt b/CMakeLists.linux.txt
index d1424fe5f5c..091da3b0771 100644
--- a/CMakeLists.linux.txt
+++ b/CMakeLists.linux.txt
@@ -363,19 +363,20 @@ add_subdirectory(contrib/restricted/boost/static_assert)
add_subdirectory(contrib/restricted/boost/throw_exception)
add_subdirectory(contrib/restricted/boost/array)
add_subdirectory(contrib/restricted/boost/bind)
+add_subdirectory(contrib/restricted/boost/exception)
+add_subdirectory(contrib/restricted/boost/smart_ptr)
+add_subdirectory(contrib/restricted/boost/move)
+add_subdirectory(contrib/restricted/boost/predef)
+add_subdirectory(contrib/restricted/boost/type_traits)
+add_subdirectory(contrib/restricted/boost/tuple)
add_subdirectory(contrib/restricted/boost/integer)
add_subdirectory(contrib/restricted/boost/io)
add_subdirectory(contrib/restricted/boost/logic)
-add_subdirectory(contrib/restricted/boost/move)
add_subdirectory(contrib/restricted/boost/mp11)
add_subdirectory(contrib/restricted/boost/mpl)
-add_subdirectory(contrib/restricted/boost/predef)
add_subdirectory(contrib/restricted/boost/preprocessor)
-add_subdirectory(contrib/restricted/boost/type_traits)
add_subdirectory(contrib/restricted/boost/utility)
add_subdirectory(contrib/restricted/boost/rational)
-add_subdirectory(contrib/restricted/boost/smart_ptr)
-add_subdirectory(contrib/restricted/boost/tuple)
add_subdirectory(contrib/restricted/boost/vmd)
add_subdirectory(contrib/restricted/boost/winapi)
add_subdirectory(contrib/restricted/fast_float)
diff --git a/contrib/restricted/boost/CMakeLists.txt b/contrib/restricted/boost/CMakeLists.txt
index aa643bef57b..11e20cce058 100644
--- a/contrib/restricted/boost/CMakeLists.txt
+++ b/contrib/restricted/boost/CMakeLists.txt
@@ -19,6 +19,7 @@ target_link_libraries(contrib-restricted-boost INTERFACE
restricted-boost-bind
restricted-boost-config
restricted-boost-core
+ restricted-boost-exception
restricted-boost-integer
restricted-boost-io
restricted-boost-logic
diff --git a/contrib/restricted/boost/boost/exception/all.hpp b/contrib/restricted/boost/boost/exception/all.hpp
deleted file mode 100644
index 58b02d00c11..00000000000
--- a/contrib/restricted/boost/boost/exception/all.hpp
+++ /dev/null
@@ -1,27 +0,0 @@
-//Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc.
-
-//Distributed under 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 UUID_316FDA946C0D11DEA9CBAE5255D89593
-#define UUID_316FDA946C0D11DEA9CBAE5255D89593
-
-#include <boost/config.hpp>
-#include <boost/exception/diagnostic_information.hpp>
-#include <boost/exception/error_info.hpp>
-#include <boost/exception/exception.hpp>
-#include <boost/exception/get_error_info.hpp>
-#include <boost/exception/info.hpp>
-#include <boost/exception/info_tuple.hpp>
-#include <boost/exception/errinfo_api_function.hpp>
-#include <boost/exception/errinfo_at_line.hpp>
-#include <boost/exception/errinfo_errno.hpp>
-#include <boost/exception/errinfo_file_handle.hpp>
-#include <boost/exception/errinfo_file_name.hpp>
-#include <boost/exception/errinfo_file_open_mode.hpp>
-#include <boost/exception/errinfo_type_info_name.hpp>
-#ifndef BOOST_NO_EXCEPTIONS
-#include <boost/exception/errinfo_nested_exception.hpp>
-#include <boost/exception_ptr.hpp>
-#endif
-#endif
diff --git a/contrib/restricted/boost/boost/exception/enable_current_exception.hpp b/contrib/restricted/boost/boost/exception/enable_current_exception.hpp
deleted file mode 100644
index 495cc90a598..00000000000
--- a/contrib/restricted/boost/boost/exception/enable_current_exception.hpp
+++ /dev/null
@@ -1,11 +0,0 @@
-//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
-
-//Distributed under 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 UUID_851700A4F7CF11E6B2EE06DD14915323
-#define UUID_851700A4F7CF11E6B2EE06DD14915323
-
-#include <boost/exception/exception.hpp>
-
-#endif
diff --git a/contrib/restricted/boost/boost/exception/errinfo_api_function.hpp b/contrib/restricted/boost/boost/exception/errinfo_api_function.hpp
deleted file mode 100644
index 0cbbdb90cac..00000000000
--- a/contrib/restricted/boost/boost/exception/errinfo_api_function.hpp
+++ /dev/null
@@ -1,22 +0,0 @@
-//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
-
-//Distributed under 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 UUID_DDFBB4546C1211DEA4659E9055D89593
-#define UUID_DDFBB4546C1211DEA4659E9055D89593
-
-#include <boost/exception/error_info.hpp>
-
-namespace
-boost
- {
- //Usage hint:
- //if( api_function(....)!=0 )
- // BOOST_THROW_EXCEPTION(
- // failure() <<
- // errinfo_api_function("api_function") );
- typedef error_info<struct errinfo_api_function_,char const *> errinfo_api_function;
- }
-
-#endif
diff --git a/contrib/restricted/boost/boost/exception/errinfo_errno.hpp b/contrib/restricted/boost/boost/exception/errinfo_errno.hpp
deleted file mode 100644
index ebd8f25fbc3..00000000000
--- a/contrib/restricted/boost/boost/exception/errinfo_errno.hpp
+++ /dev/null
@@ -1,46 +0,0 @@
-//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
-
-//Distributed under 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 UUID_F0EE17BE6C1211DE87FF459155D89593
-#define UUID_F0EE17BE6C1211DE87FF459155D89593
-
-#include <boost/exception/info.hpp>
-#include <errno.h>
-#include <string.h>
-
-#if (__GNUC__*100+__GNUC_MINOR__>301) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
-#pragma GCC system_header
-#endif
-#if defined(_MSC_VER) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
-#pragma warning(push,1)
-#pragma warning(disable:4996)
-#endif
-
-namespace
-boost
- {
- typedef error_info<struct errinfo_errno_,int> errinfo_errno;
-
- //Usage hint:
- //if( c_function(....)!=0 )
- // BOOST_THROW_EXCEPTION(
- // failure() <<
- // errinfo_errno(errno) <<
- // errinfo_api_function("c_function") );
- inline
- std::string
- to_string( errinfo_errno const & e )
- {
- std::ostringstream tmp;
- int v=e.value();
- tmp << '[' << error_info_name(e) << "] = " << v << ", \"" << strerror(v) << "\"\n";
- return tmp.str();
- }
- }
-
-#if defined(_MSC_VER) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
-#pragma warning(pop)
-#endif
-#endif
diff --git a/contrib/restricted/boost/boost/exception/errinfo_file_handle.hpp b/contrib/restricted/boost/boost/exception/errinfo_file_handle.hpp
deleted file mode 100644
index 8e6cff8fd89..00000000000
--- a/contrib/restricted/boost/boost/exception/errinfo_file_handle.hpp
+++ /dev/null
@@ -1,20 +0,0 @@
-//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
-
-//Distributed under 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 UUID_F79E6EE26C1211DEB26E929155D89593
-#define UUID_F79E6EE26C1211DEB26E929155D89593
-
-#include <stdio.h>
-
-namespace
-boost
- {
- template <class> class weak_ptr;
- template <class Tag,class T> class error_info;
-
- typedef error_info<struct errinfo_file_handle_,weak_ptr<FILE> > errinfo_file_handle;
- }
-
-#endif
diff --git a/contrib/restricted/boost/boost/exception/errinfo_file_name.hpp b/contrib/restricted/boost/boost/exception/errinfo_file_name.hpp
deleted file mode 100644
index d3cce4d356b..00000000000
--- a/contrib/restricted/boost/boost/exception/errinfo_file_name.hpp
+++ /dev/null
@@ -1,26 +0,0 @@
-//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
-
-//Distributed under 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 UUID_FEE5120A6C1211DE94E8BC9155D89593
-#define UUID_FEE5120A6C1211DE94E8BC9155D89593
-
-#include <string>
-
-namespace
-boost
- {
- template <class Tag,class T> class error_info;
-
- //Usage hint:
- //FILE * f=fopen(name,mode);
- //if( !f )
- // BOOST_THROW_EXCEPTION(
- // file_open_error() <<
- // errinfo_file_name(name) <<
- // errinfo_file_open_mode(mode) );
- typedef error_info<struct errinfo_file_name_,std::string> errinfo_file_name;
- }
-
-#endif
diff --git a/contrib/restricted/boost/boost/exception/errinfo_file_open_mode.hpp b/contrib/restricted/boost/boost/exception/errinfo_file_open_mode.hpp
deleted file mode 100644
index f4fba0d5cc0..00000000000
--- a/contrib/restricted/boost/boost/exception/errinfo_file_open_mode.hpp
+++ /dev/null
@@ -1,26 +0,0 @@
-//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
-
-//Distributed under 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 UUID_056F1F266C1311DE8E74299255D89593
-#define UUID_056F1F266C1311DE8E74299255D89593
-
-#include <string>
-
-namespace
-boost
- {
- template <class Tag,class T> class error_info;
-
- //Usage hint:
- //FILE * f=fopen(name,mode);
- //if( !f )
- // BOOST_THROW_EXCEPTION(
- // file_open_error() <<
- // errinfo_file_name(name) <<
- // errinfo_file_open_mode(mode) );
- typedef error_info<struct errinfo_file_open_mode_,std::string> errinfo_file_open_mode;
- }
-
-#endif
diff --git a/contrib/restricted/boost/boost/exception/errinfo_nested_exception.hpp b/contrib/restricted/boost/boost/exception/errinfo_nested_exception.hpp
deleted file mode 100644
index c3299d1475f..00000000000
--- a/contrib/restricted/boost/boost/exception/errinfo_nested_exception.hpp
+++ /dev/null
@@ -1,18 +0,0 @@
-//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
-
-//Distributed under 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 UUID_45CC9A82B77511DEB330FC4956D89593
-#define UUID_45CC9A82B77511DEB330FC4956D89593
-
-namespace
-boost
- {
- namespace exception_detail { class clone_base; }
- template <class Tag,class T> class error_info;
- class exception_ptr;
- typedef error_info<struct errinfo_nested_exception_,exception_ptr> errinfo_nested_exception;
- }
-
-#endif
diff --git a/contrib/restricted/boost/boost/exception/errinfo_type_info_name.hpp b/contrib/restricted/boost/boost/exception/errinfo_type_info_name.hpp
deleted file mode 100644
index 0b060e2e11c..00000000000
--- a/contrib/restricted/boost/boost/exception/errinfo_type_info_name.hpp
+++ /dev/null
@@ -1,23 +0,0 @@
-//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
-
-//Distributed under 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 UUID_0E11109E6C1311DEB7EA649255D89593
-#define UUID_0E11109E6C1311DEB7EA649255D89593
-
-#include <string>
-
-namespace
-boost
- {
- template <class Tag,class T> class error_info;
-
- //Usage hint:
- //BOOST_THROW_EXCEPTION(
- // bad_type() <<
- // errinfo_type_info_name(typeid(x).name()) );
- typedef error_info<struct errinfo_type_info_name_,std::string> errinfo_type_info_name;
- }
-
-#endif
diff --git a/contrib/restricted/boost/boost/exception/error_info.hpp b/contrib/restricted/boost/boost/exception/error_info.hpp
deleted file mode 100644
index 03b3da8e316..00000000000
--- a/contrib/restricted/boost/boost/exception/error_info.hpp
+++ /dev/null
@@ -1,9 +0,0 @@
-//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
-
-//Distributed under 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 UUID_EE7ECCA0433B11E1923E37064924019B
-#define UUID_EE7ECCA0433B11E1923E37064924019B
-namespace boost { template <class Tag,class T> class error_info; }
-#endif
diff --git a/contrib/restricted/boost/boost/exception/info_tuple.hpp b/contrib/restricted/boost/boost/exception/info_tuple.hpp
deleted file mode 100644
index 7c16d751516..00000000000
--- a/contrib/restricted/boost/boost/exception/info_tuple.hpp
+++ /dev/null
@@ -1,101 +0,0 @@
-//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
-
-//Distributed under 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 UUID_63EE924290FB11DC87BB856555D89593
-#define UUID_63EE924290FB11DC87BB856555D89593
-
-#include <boost/exception/info.hpp>
-#include <boost/tuple/tuple.hpp>
-
-#if (__GNUC__*100+__GNUC_MINOR__>301) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
-#pragma GCC system_header
-#endif
-#if defined(_MSC_VER) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
-#pragma warning(push,1)
-#endif
-
-namespace
-boost
- {
- template <
- class E >
- inline
- E const &
- operator<<(
- E const & x,
- tuple< > const & v )
- {
- return x;
- }
-
- template <
- class E,
- class Tag1,class T1 >
- inline
- E const &
- operator<<(
- E const & x,
- tuple<
- error_info<Tag1,T1> > const & v )
- {
- return x << v.template get<0>();
- }
-
- template <
- class E,
- class Tag1,class T1,
- class Tag2,class T2 >
- inline
- E const &
- operator<<(
- E const & x,
- tuple<
- error_info<Tag1,T1>,
- error_info<Tag2,T2> > const & v )
- {
- return x << v.template get<0>() << v.template get<1>();
- }
-
- template <
- class E,
- class Tag1,class T1,
- class Tag2,class T2,
- class Tag3,class T3 >
- inline
- E const &
- operator<<(
- E const & x,
- tuple<
- error_info<Tag1,T1>,
- error_info<Tag2,T2>,
- error_info<Tag3,T3> > const & v )
- {
- return x << v.template get<0>() << v.template get<1>() << v.template get<2>();
- }
-
- template <
- class E,
- class Tag1,class T1,
- class Tag2,class T2,
- class Tag3,class T3,
- class Tag4,class T4 >
- inline
- E const &
- operator<<(
- E const & x,
- tuple<
- error_info<Tag1,T1>,
- error_info<Tag2,T2>,
- error_info<Tag3,T3>,
- error_info<Tag4,T4> > const & v )
- {
- return x << v.template get<0>() << v.template get<1>() << v.template get<2>() << v.template get<3>();
- }
- }
-
-#if defined(_MSC_VER) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
-#pragma warning(pop)
-#endif
-#endif
diff --git a/contrib/restricted/boost/exception/CMakeLists.txt b/contrib/restricted/boost/exception/CMakeLists.txt
new file mode 100644
index 00000000000..2cf4001a752
--- /dev/null
+++ b/contrib/restricted/boost/exception/CMakeLists.txt
@@ -0,0 +1,27 @@
+
+# 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-exception)
+target_include_directories(restricted-boost-exception PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/exception/include
+)
+target_link_libraries(restricted-boost-exception PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ restricted-boost-assert
+ restricted-boost-config
+ restricted-boost-core
+ restricted-boost-smart_ptr
+ restricted-boost-throw_exception
+ restricted-boost-tuple
+ restricted-boost-type_traits
+)
+target_sources(restricted-boost-exception PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/exception/src/clone_current_exception_non_intrusive.cpp
+)
diff --git a/contrib/restricted/boost/boost/exception/current_exception_cast.hpp b/contrib/restricted/boost/exception/include/boost/exception/current_exception_cast.hpp
index 5d81f00b00b..5d81f00b00b 100644
--- a/contrib/restricted/boost/boost/exception/current_exception_cast.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/current_exception_cast.hpp
diff --git a/contrib/restricted/boost/boost/exception/detail/clone_current_exception.hpp b/contrib/restricted/boost/exception/include/boost/exception/detail/clone_current_exception.hpp
index 6fc1374737e..6fc1374737e 100644
--- a/contrib/restricted/boost/boost/exception/detail/clone_current_exception.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/detail/clone_current_exception.hpp
diff --git a/contrib/restricted/boost/boost/exception/detail/error_info_impl.hpp b/contrib/restricted/boost/exception/include/boost/exception/detail/error_info_impl.hpp
index 404296b6c7a..404296b6c7a 100644
--- a/contrib/restricted/boost/boost/exception/detail/error_info_impl.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/detail/error_info_impl.hpp
diff --git a/contrib/restricted/boost/boost/exception/detail/exception_ptr.hpp b/contrib/restricted/boost/exception/include/boost/exception/detail/exception_ptr.hpp
index 99424dbefe1..99424dbefe1 100644
--- a/contrib/restricted/boost/boost/exception/detail/exception_ptr.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/detail/exception_ptr.hpp
diff --git a/contrib/restricted/boost/boost/exception/detail/is_output_streamable.hpp b/contrib/restricted/boost/exception/include/boost/exception/detail/is_output_streamable.hpp
index 10e5c5163ee..10e5c5163ee 100644
--- a/contrib/restricted/boost/boost/exception/detail/is_output_streamable.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/detail/is_output_streamable.hpp
diff --git a/contrib/restricted/boost/boost/exception/detail/object_hex_dump.hpp b/contrib/restricted/boost/exception/include/boost/exception/detail/object_hex_dump.hpp
index 267bf0bf3e1..267bf0bf3e1 100644
--- a/contrib/restricted/boost/boost/exception/detail/object_hex_dump.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/detail/object_hex_dump.hpp
diff --git a/contrib/restricted/boost/boost/exception/detail/shared_ptr.hpp b/contrib/restricted/boost/exception/include/boost/exception/detail/shared_ptr.hpp
index 51febe8c8fb..51febe8c8fb 100644
--- a/contrib/restricted/boost/boost/exception/detail/shared_ptr.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/detail/shared_ptr.hpp
diff --git a/contrib/restricted/boost/boost/exception/detail/type_info.hpp b/contrib/restricted/boost/exception/include/boost/exception/detail/type_info.hpp
index 739ac5748e2..739ac5748e2 100644
--- a/contrib/restricted/boost/boost/exception/detail/type_info.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/detail/type_info.hpp
diff --git a/contrib/restricted/boost/boost/exception/diagnostic_information.hpp b/contrib/restricted/boost/exception/include/boost/exception/diagnostic_information.hpp
index 2ffc1e2dc4d..2ffc1e2dc4d 100644
--- a/contrib/restricted/boost/boost/exception/diagnostic_information.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/diagnostic_information.hpp
diff --git a/contrib/restricted/boost/boost/exception/enable_error_info.hpp b/contrib/restricted/boost/exception/include/boost/exception/enable_error_info.hpp
index 202217af66a..202217af66a 100644
--- a/contrib/restricted/boost/boost/exception/enable_error_info.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/enable_error_info.hpp
diff --git a/contrib/restricted/boost/boost/exception/errinfo_at_line.hpp b/contrib/restricted/boost/exception/include/boost/exception/errinfo_at_line.hpp
index cbd5ccefba0..cbd5ccefba0 100644
--- a/contrib/restricted/boost/boost/exception/errinfo_at_line.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/errinfo_at_line.hpp
diff --git a/contrib/restricted/boost/boost/exception/get_error_info.hpp b/contrib/restricted/boost/exception/include/boost/exception/get_error_info.hpp
index 831717df596..831717df596 100644
--- a/contrib/restricted/boost/boost/exception/get_error_info.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/get_error_info.hpp
diff --git a/contrib/restricted/boost/boost/exception/info.hpp b/contrib/restricted/boost/exception/include/boost/exception/info.hpp
index 45873a2f279..45873a2f279 100644
--- a/contrib/restricted/boost/boost/exception/info.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/info.hpp
diff --git a/contrib/restricted/boost/boost/exception/to_string.hpp b/contrib/restricted/boost/exception/include/boost/exception/to_string.hpp
index 51425b10d16..51425b10d16 100644
--- a/contrib/restricted/boost/boost/exception/to_string.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/to_string.hpp
diff --git a/contrib/restricted/boost/boost/exception/to_string_stub.hpp b/contrib/restricted/boost/exception/include/boost/exception/to_string_stub.hpp
index 8ff5e47fd63..8ff5e47fd63 100644
--- a/contrib/restricted/boost/boost/exception/to_string_stub.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception/to_string_stub.hpp
diff --git a/contrib/restricted/boost/boost/exception_ptr.hpp b/contrib/restricted/boost/exception/include/boost/exception_ptr.hpp
index d48cce9dc69..d48cce9dc69 100644
--- a/contrib/restricted/boost/boost/exception_ptr.hpp
+++ b/contrib/restricted/boost/exception/include/boost/exception_ptr.hpp
diff --git a/contrib/restricted/boost/libs/exception/src/clone_current_exception_non_intrusive.cpp b/contrib/restricted/boost/exception/src/clone_current_exception_non_intrusive.cpp
index 54b056d8d0e..54b056d8d0e 100644
--- a/contrib/restricted/boost/libs/exception/src/clone_current_exception_non_intrusive.cpp
+++ b/contrib/restricted/boost/exception/src/clone_current_exception_non_intrusive.cpp
diff --git a/contrib/restricted/boost/libs/graph/CMakeLists.txt b/contrib/restricted/boost/libs/graph/CMakeLists.txt
index f2b6af5a3b9..0cefef1cf84 100644
--- a/contrib/restricted/boost/libs/graph/CMakeLists.txt
+++ b/contrib/restricted/boost/libs/graph/CMakeLists.txt
@@ -12,5 +12,6 @@ target_link_libraries(boost-libs-graph INTERFACE
contrib-libs-cxxsupp
contrib-restricted-boost
restricted-boost-atomic
+ restricted-boost-exception
boost-libs-filesystem
)
diff --git a/contrib/restricted/boost/libs/thread/CMakeLists.darwin.txt b/contrib/restricted/boost/libs/thread/CMakeLists.darwin.txt
index aa5e039a94b..451fbab39b5 100644
--- a/contrib/restricted/boost/libs/thread/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/libs/thread/CMakeLists.darwin.txt
@@ -34,6 +34,7 @@ target_link_libraries(boost-libs-thread PUBLIC
contrib-libs-cxxsupp
contrib-restricted-boost
restricted-boost-atomic
+ restricted-boost-exception
boost-libs-chrono
restricted-boost-system
)
diff --git a/contrib/restricted/boost/libs/thread/CMakeLists.linux.txt b/contrib/restricted/boost/libs/thread/CMakeLists.linux.txt
index 5b9c8b0b530..b44ad82bdcc 100644
--- a/contrib/restricted/boost/libs/thread/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/libs/thread/CMakeLists.linux.txt
@@ -33,6 +33,7 @@ target_link_libraries(boost-libs-thread PUBLIC
contrib-libs-cxxsupp
contrib-restricted-boost
restricted-boost-atomic
+ restricted-boost-exception
boost-libs-chrono
restricted-boost-system
)