c++boost.gif (8819 bytes)
Main Page   File List   File Members  

enum_shifted_params.hpp File Reference


Defines

#define BOOST_PP_ENUM_SHIFTED_PARAMS(N, P)
 Generates a comma separated list of shifted actual parameters. More...

#define BOOST_PREPROCESSOR_ENUM_SHIFTED_PARAMS(N, P)
 Obsolete. Use BOOST_PP_ENUM_SHIFTED_PARAMS(). More...


Detailed Description

Click here to see the header.


Define Documentation

#define BOOST_PP_ENUM_SHIFTED_PARAMS N,
 
 

Generates a comma separated list of shifted actual parameters.

In other words, expands to the sequence:

  P##1, P##2, ..., P##N-1

NOTE: The implementation uses BOOST_PP_REPEAT().

RATIONALE:

  • This macro facilitates a typical usage of the library. Shifted parameter lists are common in template metaprograms.

#define BOOST_PREPROCESSOR_ENUM_SHIFTED_PARAMS N,
 
 

Obsolete. Use BOOST_PP_ENUM_SHIFTED_PARAMS().


© Copyright Housemarque Oy 2001

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.

Generated: