diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2022-08-11 16:40:42 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2022-08-11 16:40:42 +0300 |
commit | 41d14ee49df97b16ad3a9ffd70a33aaecc2cfaf0 (patch) | |
tree | a5ea5dc92a3e6778827fdb15868e01a7d76b7a0b | |
parent | b1c90cc921458200cac7ca9c853238799e91afc4 (diff) | |
download | ydb-41d14ee49df97b16ad3a9ffd70a33aaecc2cfaf0.tar.gz |
Update contrib/restricted/boost/mpl to 1.80.0
9 files changed, 14 insertions, 13 deletions
diff --git a/contrib/restricted/boost/mpl/README.md b/contrib/restricted/boost/mpl/README.md index b8806d4c3d..22310abd90 100644 --- a/contrib/restricted/boost/mpl/README.md +++ b/contrib/restricted/boost/mpl/README.md @@ -11,10 +11,10 @@ Distributed under the [Boost Software License, Version 1.0](http://www.boost.org ### Build Status -Branch | Travis | Appveyor | Coverity Scan | codecov.io | Deps | Docs | Tests | +Branch | GHA CI | Appveyor | Coverity Scan | codecov.io | Deps | Docs | Tests | :-------------: | ------ | -------- | ------------- | ---------- | ---- | ---- | ----- | -[`master`](https://github.com/boostorg/mpl/tree/master) | [![Build Status](https://travis-ci.org/boostorg/mpl.svg?branch=master)](https://travis-ci.org/boostorg/mpl) | [![Build status](https://ci.appveyor.com/api/projects/status/lx9pjj2ixqod6flb/branch/master?svg=true)](https://ci.appveyor.com/project/jeking3/mpl-nrhfm/branch/master) | [![Coverity Scan Build Status](https://scan.coverity.com/projects/15866/badge.svg)](https://scan.coverity.com/projects/boostorg-mpl) | [![codecov](https://codecov.io/gh/boostorg/mpl/branch/master/graph/badge.svg)](https://codecov.io/gh/boostorg/mpl/branch/master)| [![Deps](https://img.shields.io/badge/deps-master-brightgreen.svg)](https://pdimov.github.io/boostdep-report/master/mpl.html) | [![Documentation](https://img.shields.io/badge/docs-master-brightgreen.svg)](http://www.boost.org/doc/libs/master/doc/html/mpl.html) | [![Enter the Matrix](https://img.shields.io/badge/matrix-master-brightgreen.svg)](http://www.boost.org/development/tests/master/developer/mpl.html) -[`develop`](https://github.com/boostorg/mpl/tree/develop) | [![Build Status](https://travis-ci.org/boostorg/mpl.svg?branch=develop)](https://travis-ci.org/boostorg/mpl) | [![Build status](https://ci.appveyor.com/api/projects/status/lx9pjj2ixqod6flb/branch/develop?svg=true)](https://ci.appveyor.com/project/jeking3/mpl-nrhfm/branch/develop) | [![Coverity Scan Build Status](https://scan.coverity.com/projects/15866/badge.svg)](https://scan.coverity.com/projects/boostorg-mpl) | [![codecov](https://codecov.io/gh/boostorg/mpl/branch/develop/graph/badge.svg)](https://codecov.io/gh/boostorg/mpl/branch/develop) | [![Deps](https://img.shields.io/badge/deps-develop-brightgreen.svg)](https://pdimov.github.io/boostdep-report/develop/mpl.html) | [![Documentation](https://img.shields.io/badge/docs-develop-brightgreen.svg)](http://www.boost.org/doc/libs/develop/doc/html/mpl.html) | [![Enter the Matrix](https://img.shields.io/badge/matrix-develop-brightgreen.svg)](http://www.boost.org/development/tests/develop/developer/mpl.html) +[`master`](https://github.com/boostorg/mpl/tree/master) | [![Build Status](https://github.com/boostorg/mpl/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/boostorg/mpl/actions?query=branch:master) | [![Build status](https://ci.appveyor.com/api/projects/status/lx9pjj2ixqod6flb/branch/master?svg=true)](https://ci.appveyor.com/project/jeking3/mpl-nrhfm/branch/master) | [![Coverity Scan Build Status](https://scan.coverity.com/projects/15866/badge.svg)](https://scan.coverity.com/projects/boostorg-mpl) | [![codecov](https://codecov.io/gh/boostorg/mpl/branch/master/graph/badge.svg)](https://codecov.io/gh/boostorg/mpl/branch/master)| [![Deps](https://img.shields.io/badge/deps-master-brightgreen.svg)](https://pdimov.github.io/boostdep-report/master/mpl.html) | [![Documentation](https://img.shields.io/badge/docs-master-brightgreen.svg)](https://www.boost.org/doc/libs/master/libs/mpl/doc/index.html) | [![Enter the Matrix](https://img.shields.io/badge/matrix-master-brightgreen.svg)](http://www.boost.org/development/tests/master/developer/mpl.html) +[`develop`](https://github.com/boostorg/mpl/tree/develop) | [![Build Status](https://github.com/boostorg/mpl/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/boostorg/mpl/actions?query=branch:develop) | [![Build status](https://ci.appveyor.com/api/projects/status/lx9pjj2ixqod6flb/branch/develop?svg=true)](https://ci.appveyor.com/project/jeking3/mpl-nrhfm/branch/develop) | [![Coverity Scan Build Status](https://scan.coverity.com/projects/15866/badge.svg)](https://scan.coverity.com/projects/boostorg-mpl) | [![codecov](https://codecov.io/gh/boostorg/mpl/branch/develop/graph/badge.svg)](https://codecov.io/gh/boostorg/mpl/branch/develop) | [![Deps](https://img.shields.io/badge/deps-develop-brightgreen.svg)](https://pdimov.github.io/boostdep-report/develop/mpl.html) | [![Documentation](https://img.shields.io/badge/docs-develop-brightgreen.svg)](https://www.boost.org/doc/libs/develop/libs/mpl/doc/index.html) | [![Enter the Matrix](https://img.shields.io/badge/matrix-develop-brightgreen.svg)](http://www.boost.org/development/tests/develop/developer/mpl.html) ### Directories diff --git a/contrib/restricted/boost/mpl/include/boost/mpl/and.hpp b/contrib/restricted/boost/mpl/include/boost/mpl/and.hpp index 454aaf2e96..5032a3b1eb 100644 --- a/contrib/restricted/boost/mpl/include/boost/mpl/and.hpp +++ b/contrib/restricted/boost/mpl/include/boost/mpl/and.hpp @@ -28,7 +28,7 @@ // 'or' and 'and' macros, see http://tinyurl.com/3et69; 'defined(and)' // has to be checked in a separate condition, otherwise GCC complains // about 'and' being an alternative token -#if defined(_MSC_VER) && !defined(__clang__) +#if defined(_MSC_VER) #ifndef __GCCXML__ #if defined(and) # pragma push_macro("and") diff --git a/contrib/restricted/boost/mpl/include/boost/mpl/assert.hpp b/contrib/restricted/boost/mpl/include/boost/mpl/assert.hpp index a0a5e3610d..67700ab3b4 100644 --- a/contrib/restricted/boost/mpl/include/boost/mpl/assert.hpp +++ b/contrib/restricted/boost/mpl/include/boost/mpl/assert.hpp @@ -53,10 +53,10 @@ #endif // agurt, 10/nov/06: use enums for Borland (which cannot cope with static constants) -// and GCC (which issues "unused variable" warnings when static constants are used +// and GCC/PGI/Clang (which issues "unused variable" warnings when static constants are used // at a function scope) #if BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x610)) \ - || (BOOST_MPL_CFG_GCC != 0) || (BOOST_MPL_CFG_GPU != 0) || defined(__PGI) + || (BOOST_MPL_CFG_GCC != 0) || (BOOST_MPL_CFG_GPU != 0) || defined(__PGI) || defined(__clang__) # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } #else # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) BOOST_STATIC_CONSTANT(T, expr) @@ -184,7 +184,7 @@ template< typename P > struct assert_arg_pred_not typedef typename assert_arg_pred_impl<p>::type type; }; -#if defined(BOOST_GCC) && BOOST_GCC >= 80000 +#if BOOST_WORKAROUND(BOOST_GCC_VERSION, >= 80000) #define BOOST_MPL_IGNORE_PARENTHESES_WARNING #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wparentheses" diff --git a/contrib/restricted/boost/mpl/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp b/contrib/restricted/boost/mpl/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp index daec4b8a8e..bb568f668b 100644 --- a/contrib/restricted/boost/mpl/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp +++ b/contrib/restricted/boost/mpl/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp @@ -12,7 +12,7 @@ namespace boost { namespace mpl { namespace aux { template< int N > struct arity_tag { - typedef char (&type)[N + 1]; + typedef char (&type)[(unsigned)N + 1]; }; template< diff --git a/contrib/restricted/boost/mpl/include/boost/mpl/aux_/template_arity.hpp b/contrib/restricted/boost/mpl/include/boost/mpl/aux_/template_arity.hpp index f011159825..f77761b757 100644 --- a/contrib/restricted/boost/mpl/include/boost/mpl/aux_/template_arity.hpp +++ b/contrib/restricted/boost/mpl/include/boost/mpl/aux_/template_arity.hpp @@ -65,7 +65,7 @@ namespace boost { namespace mpl { namespace aux { template< BOOST_MPL_AUX_NTTP_DECL(int, N) > struct arity_tag { - typedef char (&type)[N + 1]; + typedef char (&type)[(unsigned)N + 1]; }; # define AUX778076_MAX_ARITY_OP(unused, state, i_) \ diff --git a/contrib/restricted/boost/mpl/include/boost/mpl/aux_/yes_no.hpp b/contrib/restricted/boost/mpl/include/boost/mpl/aux_/yes_no.hpp index 21a18a21c2..2fdda932b0 100644 --- a/contrib/restricted/boost/mpl/include/boost/mpl/aux_/yes_no.hpp +++ b/contrib/restricted/boost/mpl/include/boost/mpl/aux_/yes_no.hpp @@ -18,6 +18,7 @@ #include <boost/mpl/aux_/config/arrays.hpp> #include <boost/mpl/aux_/config/msvc.hpp> #include <boost/mpl/aux_/config/workaround.hpp> +#include <cstddef> namespace boost { namespace mpl { namespace aux { @@ -36,7 +37,7 @@ template<> struct yes_no_tag<true> }; -template< BOOST_MPL_AUX_NTTP_DECL(long, n) > struct weighted_tag +template< BOOST_MPL_AUX_NTTP_DECL(std::size_t, n) > struct weighted_tag { #if !BOOST_WORKAROUND(BOOST_MSVC, < 1300) typedef char (&type)[n]; diff --git a/contrib/restricted/boost/mpl/include/boost/mpl/bitand.hpp b/contrib/restricted/boost/mpl/include/boost/mpl/bitand.hpp index 9c31c79295..3d75980704 100644 --- a/contrib/restricted/boost/mpl/include/boost/mpl/bitand.hpp +++ b/contrib/restricted/boost/mpl/include/boost/mpl/bitand.hpp @@ -19,7 +19,7 @@ // macros, see http://tinyurl.com/ycwdxco; 'defined(bitand)' // has to be checked in a separate condition, otherwise GCC complains // about 'bitand' being an alternative token -#if defined(_MSC_VER) && !defined(__clang__) +#if defined(_MSC_VER) #ifndef __GCCXML__ #if defined(bitand) # pragma push_macro("bitand") diff --git a/contrib/restricted/boost/mpl/include/boost/mpl/bitor.hpp b/contrib/restricted/boost/mpl/include/boost/mpl/bitor.hpp index f009743776..05348c3edf 100644 --- a/contrib/restricted/boost/mpl/include/boost/mpl/bitor.hpp +++ b/contrib/restricted/boost/mpl/include/boost/mpl/bitor.hpp @@ -19,7 +19,7 @@ // macros, see http://tinyurl.com/ycwdxco; 'defined(bitor)' // has to be checked in a separate condition, otherwise GCC complains // about 'bitor' being an alternative token -#if defined(_MSC_VER) && !defined(__clang__) +#if defined(_MSC_VER) #ifndef __GCCXML__ #if defined(bitor) # pragma push_macro("bitor") diff --git a/contrib/restricted/boost/mpl/include/boost/mpl/or.hpp b/contrib/restricted/boost/mpl/include/boost/mpl/or.hpp index f9704d5166..da290e38b9 100644 --- a/contrib/restricted/boost/mpl/include/boost/mpl/or.hpp +++ b/contrib/restricted/boost/mpl/include/boost/mpl/or.hpp @@ -29,7 +29,7 @@ // 'or' and 'and' macros, see http://tinyurl.com/3et69; 'defined(or)' // has to be checked in a separate condition, otherwise GCC complains // about 'or' being an alternative token -#if defined(_MSC_VER) && !defined(__clang__) +#if defined(_MSC_VER) #ifndef __GCCXML__ #if defined(or) # pragma push_macro("or") |