C++ Boost

Boost.Preprocessor

Header <boost/preprocessor/list/enum.hpp>


Prev Next Macros Headers

#define BOOST_PP_LIST_ENUM(LIST)

Converts the list to a comma separated list.

For example,

BOOST_PP_LIST_ENUM(BOOST_PP_TUPLE_TO_LIST(3,(A,B,C)))

expands to:

A,B,C

Uses


#define BOOST_PP_LIST_ENUM_R(R,LIST)

Can be used inside BOOST_PP_FOR() (see for an explanation of the R parameter).


Prev Next Macros Headers

Revised

© Copyright Housemarque Oy 2002

Permission to copy, use, modify, sell and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.