
14 Oct
2008
14 Oct
'08
6:25 p.m.
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 compile? <http://www.boost.org/doc/libs/1_36_0/libs/parameter/doc/html/reference.html#boost-parameter-max-arity>
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.
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. -- Dave Abrahams BoostPro Computing http://www.boostpro.com