Subject: Re: [boost] [parameter] Redefining BOOST_PARAMETER_MAX_ARITY
From: Jamie Allsop (ja11sop_at_[hidden])
Date: 2008-10-14 17:04:32
David Abrahams wrote:
> on Mon Oct 13 2008, Jamie Allsop <ja11sop-AT-yahoo.co.uk> wrote:
>> Should I expect to be able to redefine BOOST_PARAMETER_MAX_ARITY and be able to
>> For example using,
>> #define BOOST_PARAMETER_MAX_ARITY 6
>> #include <boost/parameter/name.hpp>
>> #include <boost/parameter/preprocessor.hpp>
>> // ... code here ...
>> does not compile.
> What is the error? It _should_ work.
yes it does (see my previous post) apologies for the noise
>> Also I wonder if there is some theoretical or practical upper limit?
> Surely there is a practical upper limit, but it depends on your compiler
> and I don't know what it is.
gcc 4.2 and as it happens I was using 15 parameters (yes a lot, time
pressures et al. caused both my hasty post and lack of simplification).
One thing I did not mention was that this is a very cool library.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk