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

identity.hpp File Reference


Defines

#define BOOST_PP_IDENTITY(X)
 Expands to X once invoked. More...

#define BOOST_PREPROCESSOR_IDENTITY(X)
 Obsolete. Use BOOST_PP_IDENTITY(). More...


Detailed Description

Click here to see the header.


Define Documentation

#define BOOST_PP_IDENTITY  
 

Expands to X once invoked.

Designed to be used with BOOST_PP_IF(), when one of the clauses need to be invoked.

For example,

  BOOST_PP_IDENTITY(X)()
  //                  ^^ NOTE!

expands to:

  X

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

#define BOOST_PREPROCESSOR_IDENTITY  
 

Obsolete. Use BOOST_PP_IDENTITY().


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