Files
preprocessor/doc/reference/for__each_8hpp.html

75 lines
3.1 KiB
HTML
Raw Normal View History

2002-01-22 10:29:42 +00:00
<a href="../index.htm"><IMG height=86
alt="c++boost.gif (8819 bytes)"
src="../../../../c++boost.gif"
width=277 align=center></a>
<hr>
<!-- Generated by Doxygen -->
2002-01-22 10:29:42 +00:00
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>for_each.hpp File Reference</h1><a href="../../../../boost/preprocessor/list/for_each.hpp">Click here to see the header.</a>.
<a href="#_details">More...</a>
<p>
<table border=0 cellpadding=0 cellspacing=0>
2002-01-22 10:29:42 +00:00
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="for__each_8hpp.html#a0">BOOST_PP_LIST_FOR_EACH</a>(F, P, L)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Repeats F(R,P,<a class="el" href="at_8hpp.html#a0">BOOST_PP_LIST_AT</a>(L,I)) for each I = [0,<a class="el" href="size_8hpp.html#a0">BOOST_PP_LIST_SIZE</a>(L)[.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a href="../../../../boost/preprocessor/list/for_each.hpp">Click here to see the header.</a>.
<p>
2002-01-22 10:29:42 +00:00
<p>
<hr><h2>Define Documentation</h2>
<a name="a0" doxytag="for_each.hpp::BOOST_PP_LIST_FOR_EACH"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> #define BOOST_PP_LIST_FOR_EACH</td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">F, <tr>
<td></td>
<td></td>
<td class="md" nowrap>P, <tr>
<td></td>
<td></td>
<td class="md" nowrap>L&nbsp;</td>
<td class="mdname1" valign="top" nowrap>&nbsp; </td>
<td class="md" valign="top">)&nbsp;</td>
<td class="md" nowrap>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Repeats F(R,P,<a class="el" href="at_8hpp.html#a0">BOOST_PP_LIST_AT</a>(L,I)) for each I = [0,<a class="el" href="size_8hpp.html#a0">BOOST_PP_LIST_SIZE</a>(L)[.
<p>
In other words, expands to the sequence:
<p>
<pre><div class="fragment"><pre>
F(R,P,BOOST_PP_LIST_AT(L,0))
F(R,P,BOOST_PP_LIST_AT(L,1))
...
F(R,P,BOOST_PP_LIST_AT(L,BOOST_PP_DEC(BOOST_PP_LIST_SIZE(L))))
</pre></div></pre>
<p>
See <a class="el" href="for_8hpp.html#a0">BOOST_PP_FOR</a>() for an explanation of the R parameter. </td>
</tr>
</table>
<hr>
<p><EFBFBD> Copyright Housemarque Oy 2001</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>