C++ Boost

Boost.Preprocessor

Reference


Prev Next Macros Headers

#include <boost/preprocessor/enum_params_with_a_default.hpp>


#define BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(N,P,D)

Generates a comma separated list of parameters with a default.

In other words, expands to the sequence:

  BOOST_PP_CAT(P,0) = D, BOOST_PP_CAT(P,1) = D, ..., BOOST_PP_CAT(P,BOOST_PP_DEC(N)) = D

Uses

Test


#define BOOST_PREPROCESSOR_ENUM_PARAMS_WITH_A_DEFAULT(N,P,D)

Obsolete. Use BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT().


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.