Files
preprocessor/doc/reference/enum.htm

36 lines
1.1 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.hpp">boost/preprocessor/enum.hpp</a>&gt;</H1>
<hr>
<H2><a name="BOOST_PP_ENUM">#define BOOST_PP_ENUM</a>(N,F,P)</H2>
<P>Generates a comma separated list.</P>
<P>In other words, expands to the sequence:</P>
<PRE>
F(0,P), F(1,P), ..., F(N-1,P)
</PRE>
<H3>Uses</H3>
<UL>
<LI><a href="repeat.htm#BOOST_PP_REPEAT">BOOST_PP_REPEAT</a>()
</UL>
<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>