Files
preprocessor/doc/reference/identity.htm
Vesa Karvonen 3b7418f9ce Working on docs
[SVN r12612]
2002-01-31 21:52:46 +00:00

48 lines
1.5 KiB
HTML

<HTML><HEAD><TITLE>Boost PREPROCESSOR library</TITLE><BODY bgcolor="#FFFFFF">
<a href="index.htm"><IMG height=86 alt="c++boost.gif (8819 bytes)" src="../../../../c++boost.gif" width=277 align=center></a>
<hr>
<H1>#include &lt;<a href="../../../../boost/preprocessor/identity.hpp">boost/preprocessor/identity.hpp</a>&gt;</H1>
<hr>
<H2><a name="BOOST_PP_IDENTITY">#define BOOST_PP_IDENTITY</a>(X)</H2>
<P>Expands to X once invoked.</P>
<P>Designed to be used with <a href="if.htm#BOOST_PP_IF">BOOST_PP_IF</a>(), when one of the clauses need to be
invoked.</P>
<P>For example,</P>
<PRE>
<a href="identity.htm#BOOST_PP_IDENTITY">BOOST_PP_IDENTITY</a>(X)<B>()</B>
</PRE>
<P>expands to:</P>
<PRE>
X
</PRE>
<H3>Note</H3>
<P><a href="identity.htm#BOOST_PP_IDENTITY">BOOST_PP_IDENTITY</a>() needs to be invoked.</P>
<hr>
<H2><a name="BOOST_PREPROCESSOR_IDENTITY">#define BOOST_PREPROCESSOR_IDENTITY</a>(X)</H2>
<P>Obsolete. Use <a href="identity.htm#BOOST_PP_IDENTITY">BOOST_PP_IDENTITY</a>().</P>
<hr>
<p>(C) Copyright Housemarque Oy 2002</p>
<p>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.</p>
<p>Generated: <!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %b %Y" startspan --><!--webbot bot="Timestamp" endspan i-checksum="15246" --></p>
</BODY></HTML>