Main Page File List File Members

# identity.hpp File Reference

`#include <boost/preprocessor/empty.hpp>`

## Defines
#define | BOOST_PREPROCESSOR_IDENTITY(X)
| Expands to X once invoked. More...

## Detailed Description

Click here to see the header.

## Define Documentation

#define BOOST_PREPROCESSOR_IDENTITY | ( | X |  | ) |

| Expands to X once invoked. Designed to be used with BOOST_PREPROCESSOR_IF(), when one of the clauses need to be invoked. Example:

      BOOST_PREPROCESSOR_IDENTITY(X)()
      //                            ^^ NOTE!
The above expands to:

      X
NOTE: If BOOST_PREPROCESSOR_IDENTITY() is not invoked, the expansion will not be usable.

© 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