diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-08-16 20:38:52 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-08-16 21:46:07 +0300 |
commit | 5ef0c463e3ae202ace3ed91d5761b930eb1995d6 (patch) | |
tree | a3ff63008022dcb3d10ea69b0745a6b735a55442 | |
parent | 0977b20401b2e2f4e612d74e91b6082ceeae9f4c (diff) | |
download | ydb-5ef0c463e3ae202ace3ed91d5761b930eb1995d6.tar.gz |
Update contrib/restricted/boost/fusion to 1.83.0
6 files changed, 9 insertions, 12 deletions
diff --git a/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/detail/in.hpp b/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/detail/in.hpp index d0a8dc4964..d409a406c1 100644 --- a/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/detail/in.hpp +++ b/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/detail/in.hpp @@ -10,7 +10,6 @@ #define FUSION_IN_05052005_0121 #include <boost/fusion/support/config.hpp> -#include <istream> #include <boost/fusion/sequence/io/detail/manip.hpp> #include <boost/mpl/bool.hpp> diff --git a/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/detail/manip.hpp b/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/detail/manip.hpp index 254c444b67..3cda2ea94e 100644 --- a/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/detail/manip.hpp +++ b/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/detail/manip.hpp @@ -36,10 +36,10 @@ namespace boost { namespace fusion namespace detail { template <typename Tag> - int get_xalloc_index(Tag* = 0) + int get_xalloc_index(int xalloc()) { // each Tag will have a unique index - static int index = std::ios::xalloc(); + static int const index = xalloc(); return index; } @@ -66,12 +66,12 @@ namespace boost { namespace fusion { static arena ar; // our arena ar.data.push_back(new T(data)); - stream.pword(get_xalloc_index<Tag>()) = ar.data.back(); + stream.pword(get_xalloc_index<Tag>(stream.xalloc)) = ar.data.back(); } static T const* get(Stream& stream) { - return (T const*)stream.pword(get_xalloc_index<Tag>()); + return (T const*)stream.pword(get_xalloc_index<Tag>(stream.xalloc)); } }; @@ -114,7 +114,6 @@ namespace boost { namespace fusion { // read a delimiter string_type const* p = stream_data_t::get(stream); - std::ws(stream); if (p) { @@ -141,7 +140,7 @@ namespace boost { namespace fusion if (stream.get() != c) { stream.unget(); - stream.setstate(std::ios::failbit); + stream.setstate(Stream::failbit); } } } diff --git a/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/detail/out.hpp b/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/detail/out.hpp index 7da87a53a4..43eb2bf28f 100644 --- a/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/detail/out.hpp +++ b/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/detail/out.hpp @@ -10,7 +10,6 @@ #define FUSION_OUT_05052005_0121 #include <boost/fusion/support/config.hpp> -#include <ostream> #include <boost/fusion/sequence/io/detail/manip.hpp> #include <boost/mpl/bool.hpp> diff --git a/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/in.hpp b/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/in.hpp index 288c247331..98e24122af 100644 --- a/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/in.hpp +++ b/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/in.hpp @@ -10,9 +10,9 @@ #define BOOST_IN_05042005_0120 #include <boost/fusion/support/config.hpp> -#include <istream> #include <boost/fusion/sequence/io/detail/in.hpp> #include <boost/fusion/support/is_sequence.hpp> +#include <iosfwd> namespace boost { namespace fusion { diff --git a/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/out.hpp b/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/out.hpp index 5c4637d57b..edb6be3820 100644 --- a/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/out.hpp +++ b/contrib/restricted/boost/fusion/include/boost/fusion/sequence/io/out.hpp @@ -10,11 +10,11 @@ #define BOOST_OUT_05042005_0120 #include <boost/fusion/support/config.hpp> -#include <ostream> #include <boost/fusion/sequence/io/detail/out.hpp> #include <boost/fusion/support/is_sequence.hpp> #include <boost/utility/enable_if.hpp> #include <boost/mpl/or.hpp> +#include <iosfwd> namespace boost { namespace fusion { diff --git a/contrib/restricted/boost/fusion/ya.make b/contrib/restricted/boost/fusion/ya.make index 0f5b82797a..763311c4c0 100644 --- a/contrib/restricted/boost/fusion/ya.make +++ b/contrib/restricted/boost/fusion/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.82.0) +VERSION(1.83.0) -ORIGINAL_SOURCE(https://github.com/boostorg/fusion/archive/boost-1.82.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/fusion/archive/boost-1.83.0.tar.gz) PEERDIR( contrib/restricted/boost/config |