[Boost-bugs] [Boost C++ Libraries] #4358: Add BOOST_PP_ENUM_TRINARY_PARAMS()

Subject: [Boost-bugs] [Boost C++ Libraries] #4358: Add BOOST_PP_ENUM_TRINARY_PARAMS()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-18 11:05:49


#4358: Add BOOST_PP_ENUM_TRINARY_PARAMS()
---------------------------------------------------+------------------------
 Reporter: Vadim Zeitlin <vz-boost@…> | Owner:
     Type: Feature Requests | Status: new
Milestone: | Component: None
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
---------------------------------------------------+------------------------
 I'd like to have a generalization of BOOST_PP_ENUM_BINARY_PARAMS() to 3
 parts. This would be useful to generate the parameters of a function like
 {{{
 template <typename F1, typename T1, ...>
 int CompareFields(F1 T1::*f1, ..., FN TN::*fN);
 }}}
 which can't (unless I'm missing something) be easily generated currently.
 And looking at `boost/preprocessor/repetition/enum_binary_params.hpp`
 implementing this manually doesn't look very simple so it would be nice if
 the library could provide it.

 I could (try to) make a patch adding this myself if it has any chance of
 being accepted, please let me know if it would be.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4358>
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:03 UTC