Boost logo

Boost :

Subject: [boost] [parameter] Redefining BOOST_PARAMETER_MAX_ARITY
From: Jamie Allsop (ja11sop_at_[hidden])
Date: 2008-10-13 09:14:51


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. Before I spend time digging into the source to figure
out the problem I thought I'd post in case the answer was 'no'.

Also I wonder if there is some theoretical or practical upper limit?

Thanks,
Jamie


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk