Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-04-08 09:56:50


Is there a way to put an empty token in a tuple or a list? I am trying
to generate families of overloaded functions which accept member
function pointers as arguments. To do this I am using a list of
cv-qualifications:

BOOST_PP_TUPLE_TO_LIST(4, (BOOST_PYTHON_EMPTY, const, volatile, const
volatile))

What can I put in place of BOOST_PYTHON_EMPTY (or is some other
technique called for?)

A tutorial section on using lists would be a big help.
+---------------------------------------------------------------+
                  David Abrahams
      C++ Booster (http://www.boost.org) O__ ==
      Pythonista (http://www.python.org) c/ /'_ ==
  resume: http://users.rcn.com/abrahams/resume.html (*) \(*) ==
          email: david.abrahams_at_[hidden]
+---------------------------------------------------------------+


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