From: Maurizio Vitale (mav_at_[hidden])
Date: 2007-05-02 17:35:45
The following piece of code compiles fine:
#define BOOST_PROTO_MAX_ARITY 8
while the following gives errors
#define BOOST_PROTO_MAX_ARITY 9
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk