[phoenix][accumulators] Is is possible to use phoenix v3 and accumulators in parallel?
Hi, Last week I started a thread called "[Boost-users] [phoenix][spirit] Is is possible to use phoenix v3 and spirit in parallel? " . While that issue seems under control, now I found a compatibility problem between accumulators and phoenix 3. #include <boost/phoenix/phoenix.hpp> //#include <boost/spirit/home/ phoenix.hpp> #include<boost/accumulators/accumulators.hpp> #include<boost/accumulators/statistics/min.hpp> int main(){ return 0; } gives an error boost/accumulators/numeric/detail/function_n.hpp:83:1: error: ‘apply12’ in namespace ‘boost::mpl’ does not name a type I tried predefining certain macros but it didn't work: #define BOOST_SPIRIT_USE_PHOENIX_V3 #define BOOST_PROTO_MAX_ARITY 11 #define BOOST_PROTO_MAX_LOGICAL_ARITY 11 #define BOOST_MPL_LIMIT_METAFUNCTION_ARITY 12 Is there a workaround? Thank you, Alfredo
participants (1)
-
alfC