Re: [Boost-bugs] [Boost C++ Libraries] #2674: request to make BOOST_PARAMETER_MAX_ARITY re-defineable

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2674: request to make BOOST_PARAMETER_MAX_ARITY re-defineable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-17 18:12:58


#2674: request to make BOOST_PARAMETER_MAX_ARITY re-defineable
-------------------------------+--------------------------------------------
  Reporter: fmhess | Owner: danielw
      Type: Feature Requests | Status: new
 Milestone: Boost 1.38.0 | Component: parameter
   Version: Boost 1.37.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by expaler):

 One workaround I use in my libraries is to compare
 `BOOST_PARAMETER_MAX_ARITY` to the minimum number of parameters via
 `BOOST_PP_LESS`, then spit out an `#error` message if the condition is
 true. This technique passes the onus of setting
 `BOOST_PARAMETER_MAX_ARITY` to the appropriate value from the developer to
 the users.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2674#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC