Main Page File List File Members

# enum_params_with_defaults.hpp File Reference

`#include <boost/preprocessor/cat.hpp>`
`#include <boost/preprocessor/comma_if.hpp>`
`#include <boost/preprocessor/repeat.hpp>`
`#include <boost/preprocessor/tuple.hpp>`

## Defines

#define | BOOST_PREPROCESSOR_ENUM_PARAMS_WITH_DEFAULTS(N, P, D)
| Generates a comma separated list of parameters with defaults. More...

## Detailed Description

Click here to see the header.

## Define Documentation

#define BOOST_PREPROCESSOR_ENUM_PARAMS_WITH_DEFAULTS | ( | N,
|  | P,
|  | D |  | ) |

Generates a comma separated list of parameters with defaults.

In other words, expands to the sequence:

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

NOTE: The implementation uses BOOST_PREPROCESSOR_REPEAT().

© Copyright Housemarque, Inc. 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: 25 Nov 2001