diff options
| author | robot-contrib <[email protected]> | 2025-12-18 00:20:40 +0300 |
|---|---|---|
| committer | robot-contrib <[email protected]> | 2025-12-18 01:01:33 +0300 |
| commit | 68a8a935c3efe554d76a199500a306cfa9de2fc0 (patch) | |
| tree | b39139b78747cbb1a34ecf44224c6144ee0c9a31 | |
| parent | 30cc4e81f31ac7035b484881c4a0a6b35cfacc9c (diff) | |
Update contrib/restricted/boost/describe to 1.90.0
commit_hash:2696f072f868718b1755decbf7f1f4515f6eb518
5 files changed, 38 insertions, 6 deletions
diff --git a/contrib/restricted/boost/describe/.yandex_meta/default.nix b/contrib/restricted/boost/describe/.yandex_meta/default.nix index e81161f1fa9..2f992511414 100644 --- a/contrib/restricted/boost/describe/.yandex_meta/default.nix +++ b/contrib/restricted/boost/describe/.yandex_meta/default.nix @@ -1,13 +1,13 @@ self: super: with self; { boost_describe = stdenv.mkDerivation rec { pname = "boost_describe"; - version = "1.89.0"; + version = "1.90.0"; src = fetchFromGitHub { owner = "boostorg"; repo = "describe"; rev = "boost-${version}"; - hash = "sha256-nZohSKFU6tQfBQa8GTd0jLe1qgqFoJlMUaISrmPP4Ng="; + hash = "sha256-vUaqUSBPSniCQ1Z7T40EeJQbn1aTgAxvH7fLnr0pkkk="; }; }; } diff --git a/contrib/restricted/boost/describe/include/boost/describe/detail/config.hpp b/contrib/restricted/boost/describe/include/boost/describe/detail/config.hpp index c24a070e322..30cb8d08f80 100644 --- a/contrib/restricted/boost/describe/include/boost/describe/detail/config.hpp +++ b/contrib/restricted/boost/describe/include/boost/describe/detail/config.hpp @@ -37,4 +37,12 @@ # define BOOST_DESCRIBE_MAYBE_UNUSED #endif +#if defined(__cpp_inline_variables) && __cpp_inline_variables >= 201606L +# define BOOST_DESCRIBE_INLINE_VARIABLE inline +#else +# define BOOST_DESCRIBE_INLINE_VARIABLE +#endif + +#define BOOST_DESCRIBE_INLINE_CONSTEXPR BOOST_DESCRIBE_INLINE_VARIABLE BOOST_DESCRIBE_CONSTEXPR_OR_CONST + #endif // #ifndef BOOST_DESCRIBE_DETAIL_CONFIG_HPP_INCLUDED diff --git a/contrib/restricted/boost/describe/include/boost/describe/detail/pp_for_each.hpp b/contrib/restricted/boost/describe/include/boost/describe/detail/pp_for_each.hpp index ab1287f820b..9e05e11e36f 100644 --- a/contrib/restricted/boost/describe/include/boost/describe/detail/pp_for_each.hpp +++ b/contrib/restricted/boost/describe/include/boost/describe/detail/pp_for_each.hpp @@ -60,11 +60,35 @@ #define BOOST_DESCRIBE_PP_FOR_EACH_50(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_49(F, a, __VA_ARGS__)) #define BOOST_DESCRIBE_PP_FOR_EACH_51(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_50(F, a, __VA_ARGS__)) #define BOOST_DESCRIBE_PP_FOR_EACH_52(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_51(F, a, __VA_ARGS__)) +#define BOOST_DESCRIBE_PP_FOR_EACH_53(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_52(F, a, __VA_ARGS__)) +#define BOOST_DESCRIBE_PP_FOR_EACH_54(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_53(F, a, __VA_ARGS__)) +#define BOOST_DESCRIBE_PP_FOR_EACH_55(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_54(F, a, __VA_ARGS__)) +#define BOOST_DESCRIBE_PP_FOR_EACH_56(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_55(F, a, __VA_ARGS__)) +#define BOOST_DESCRIBE_PP_FOR_EACH_57(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_56(F, a, __VA_ARGS__)) +#define BOOST_DESCRIBE_PP_FOR_EACH_58(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_57(F, a, __VA_ARGS__)) +#define BOOST_DESCRIBE_PP_FOR_EACH_59(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_58(F, a, __VA_ARGS__)) +#define BOOST_DESCRIBE_PP_FOR_EACH_60(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_59(F, a, __VA_ARGS__)) +#define BOOST_DESCRIBE_PP_FOR_EACH_61(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_60(F, a, __VA_ARGS__)) +#define BOOST_DESCRIBE_PP_FOR_EACH_62(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_61(F, a, __VA_ARGS__)) +#define BOOST_DESCRIBE_PP_FOR_EACH_63(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_62(F, a, __VA_ARGS__)) +#define BOOST_DESCRIBE_PP_FOR_EACH_64(F, a, x, ...) BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_CALL(F, a, x) BOOST_DESCRIBE_PP_FOR_EACH_63(F, a, __VA_ARGS__)) -#define BOOST_DESCRIBE_PP_FE_EXTRACT(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, V, ...) V +#define BOOST_DESCRIBE_PP_FE_EXTRACT(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, V, ...) V #define BOOST_DESCRIBE_PP_FOR_EACH(F, ...) \ BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_EXPAND(BOOST_DESCRIBE_PP_FE_EXTRACT(__VA_ARGS__, \ + BOOST_DESCRIBE_PP_FOR_EACH_64, \ + BOOST_DESCRIBE_PP_FOR_EACH_63, \ + BOOST_DESCRIBE_PP_FOR_EACH_62, \ + BOOST_DESCRIBE_PP_FOR_EACH_61, \ + BOOST_DESCRIBE_PP_FOR_EACH_60, \ + BOOST_DESCRIBE_PP_FOR_EACH_59, \ + BOOST_DESCRIBE_PP_FOR_EACH_58, \ + BOOST_DESCRIBE_PP_FOR_EACH_57, \ + BOOST_DESCRIBE_PP_FOR_EACH_56, \ + BOOST_DESCRIBE_PP_FOR_EACH_55, \ + BOOST_DESCRIBE_PP_FOR_EACH_54, \ + BOOST_DESCRIBE_PP_FOR_EACH_53, \ BOOST_DESCRIBE_PP_FOR_EACH_52, \ BOOST_DESCRIBE_PP_FOR_EACH_51, \ BOOST_DESCRIBE_PP_FOR_EACH_50, \ diff --git a/contrib/restricted/boost/describe/include/boost/describe/modifiers.hpp b/contrib/restricted/boost/describe/include/boost/describe/modifiers.hpp index 06650ea1d36..d42e6b45db1 100644 --- a/contrib/restricted/boost/describe/include/boost/describe/modifiers.hpp +++ b/contrib/restricted/boost/describe/include/boost/describe/modifiers.hpp @@ -25,7 +25,7 @@ enum modifiers mod_hidden = 256 }; -BOOST_DESCRIBE_CONSTEXPR_OR_CONST modifiers mod_any_access = static_cast<modifiers>( mod_public | mod_protected | mod_private ); +BOOST_DESCRIBE_INLINE_CONSTEXPR modifiers mod_any_access = static_cast<modifiers>( mod_public | mod_protected | mod_private ); } // namespace describe } // namespace boost diff --git a/contrib/restricted/boost/describe/ya.make b/contrib/restricted/boost/describe/ya.make index e8de159140e..787243bdf46 100644 --- a/contrib/restricted/boost/describe/ya.make +++ b/contrib/restricted/boost/describe/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.89.0) +VERSION(1.90.0) -ORIGINAL_SOURCE(https://github.com/boostorg/describe/archive/boost-1.89.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/describe/archive/boost-1.90.0.tar.gz) PEERDIR( contrib/restricted/boost/mp11 |
