mcst-linux-kernel/patches-2024.06.26/boost-1.83.0/0007-phoenix-placeholder-mu...

25 lines
964 B
Diff
Raw Permalink Normal View History

2024-07-09 13:51:45 +03:00
Link: https://github.com/boostorg/phoenix/commit/8913607a3788cb82d48ed461ea59c919b7bad3df
Subject: Disabled this for now, due to ODR violations $$$ Fix Me $$$
Bug: 153990
Tags: common
diff -rupN a/boost/phoenix/stl/tuple.hpp b/boost/phoenix/stl/tuple.hpp
--- a/boost/phoenix/stl/tuple.hpp 2023-11-17 00:51:57.556990736 +0300
+++ b/boost/phoenix/stl/tuple.hpp 2023-11-17 00:53:04.360666968 +0300
@@ -106,6 +106,7 @@ namespace boost { namespace phoenix {
tuple_detail::idx_wrap<N>(), t);
}
+#if 0 // Disabled this for now due to ODR viaolations $$$ Fix Me $$$
// Make unpacked argument placeholders
namespace placeholders {
#define BOOST_PP_LOCAL_LIMITS (1, BOOST_PHOENIX_ARG_LIMIT)
@@ -114,6 +115,7 @@ namespace boost { namespace phoenix {
boost::phoenix::get_<(N)-1>(boost::phoenix::placeholders::arg1);
#include BOOST_PP_LOCAL_ITERATE()
}
+#endif
}} // namespace boost::phoenix
#endif // C++ 14