Files
preprocessor/doc/reference/enum_shifted_params.htm

46 lines
1.5 KiB
HTML
Raw Normal View History

2002-01-31 15:36:01 +00:00
<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/enum_shifted_params.hpp">boost/preprocessor/enum_shifted_params.hpp</a>&gt;</H1>
<hr>
<H2><a name="BOOST_PP_ENUM_SHIFTED_PARAMS">#define BOOST_PP_ENUM_SHIFTED_PARAMS</a>(N,P)</H2>
<P>Generates a comma separated list of shifted actual parameters.</P>
<P>In other words, expands to the sequence:</P>
<PRE>
P##1, P##2, ..., P##N-1
</PRE>
<H3>Uses</H3>
<UL>
<LI><a href="repeat.htm#BOOST_PP_REPEAT">BOOST_PP_REPEAT</a>()
</UL>
<H3>Rationale</H3>
<UL>
<LI>This macro facilitates a typical usage of the library. Shifted parameter
lists are common in template metaprograms.
</UL>
<hr>
<H2><a name="BOOST_PREPROCESSOR_ENUM_SHIFTED_PARAMS">#define BOOST_PREPROCESSOR_ENUM_SHIFTED_PARAMS</a>(N,P)</H2>
<P>Obsolete. Use <a href="enum_shifted_params.htm#BOOST_PP_ENUM_SHIFTED_PARAMS">BOOST_PP_ENUM_SHIFTED_PARAMS</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>