C++ Boost

Boost.Preprocessor

Reference


Prev Next Macros Headers

#include <boost/preprocessor/enum.hpp>


#define BOOST_PP_ENUM(N,F,P)

Generates a comma separated list.

In other words, expands to the sequence:

  F(0,P), F(1,P), ..., F(BOOST_PP_DEC(N),P)

Uses


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.