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

enum_params_with_a_default.hpp File Reference


Defines

#define BOOST_PREPROCESSOR_ENUM_PARAMS_WITH_A_DEFAULT(N, P, D)
 Generates a comma separated list of parameters with a default. More...


Detailed Description

Click here to see the header.


Define Documentation

#define BOOST_PREPROCESSOR_ENUM_PARAMS_WITH_A_DEFAULT N,
P,
 
 

Generates a comma separated list of parameters with a default.

In other words, expands to the sequence:

  P##0 = D, P##1 = D, ..., P##N-1 = D

NOTE: The implementation uses BOOST_PREPROCESSOR_REPEAT().


© 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: