Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-04-11 19:45:18


I often find myself making lists like:

    BOOST_PP_COMMA_IF(nargs) BOOST_PP_ENUM(...)

It seems silly and inefficient to me, since doubtless the ENUM construct
has to do something special to avoid generating the initial comma (does
it?). Even if there's no efficiency argument, it would be very
convenient to have BOOST_PP_COMMA_ENUM et. al

Thanks,
Dave

+---------------------------------------------------------------+
                  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