
Maurizio Vitale <mav@cuma.polymath-solutions.lan> writes:
The following piece of code compiles fine:
#define BOOST_PROTO_MAX_ARITY 8 #include <boost/xpressive/proto/proto.hpp>
while the following gives errors
#define BOOST_PROTO_MAX_ARITY 9 #include <boost/xpressive/proto/proto.hpp>
and so on for any value of BOOST_PROTO_MAX_ARITY larger than 8.
Another data point: even though the above code compile with 8 and 7, in my real code I get a match failure on number<_,_,_,_,_,_,_,_> [8] or number<_,_,_,_,_,_,_> [7]. As far as I can tell, the only difference between the working code and the non-working code is the additional template arguments to number<>, which are not used. So it is possible that matches fail for patterns with more than 6 elements, but I still have to reproduce the problem on a small testcase. Best regards, Maurizio