Boost logo

Boost :

From: Maurizio Vitale (mav_at_[hidden])
Date: 2007-05-02 17:35:45

The following piece of code compiles fine:

    #include <boost/xpressive/proto/proto.hpp>

while the following gives errors

    #include <boost/xpressive/proto/proto.hpp>

and so on for any value of BOOST_PROTO_MAX_ARITY larger than 8.

If there's a real problem with more than eight, it would be good
to have an #error statement in that case.

I'm really interested in having patterns with those many arguments, so once
the variable controlling the maximum arity and the one controlling the maximum
number of subpatterns in a pattern get decoupled I may be fine, but still
giving a clear error message would be helpful.

I only need BOOST_PROTO_MAX_ARITY=8. I tried 9 just because I was getting ambiguous
conversions, which in the past were due to this.

Best regards,


Boost list run by bdawes at, gregod at, cpdaniel at, john at