mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-02 23:36:54 +02:00
85 lines
3.0 KiB
HTML
85 lines
3.0 KiB
HTML
<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 1.2.13 -->
|
||
<center>
|
||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||
<hr><h1>fold_right.hpp File Reference</h1><table border=0 cellpadding=0 cellspacing=0>
|
||
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
|
||
<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="fold__right_8hpp.html#a0">BOOST_PP_LIST_FOLD_RIGHT</a>(F, L, P)</td></tr>
|
||
<tr><td> </td><td><font size=-1><em>Iterates F(D,X,P) for each element X of the list L (from the right or the end of the list).</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/fold_right.hpp">Click here to see the header.</a>
|
||
<p>
|
||
<hr><h2>Define Documentation</h2>
|
||
<a name="a0" doxytag="fold_right.hpp::BOOST_PP_LIST_FOLD_RIGHT"></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_FOLD_RIGHT</td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">F, <tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td class="md" nowrap>L, <tr>
|
||
<td></td>
|
||
<td></td>
|
||
<td class="md" nowrap>P </td>
|
||
<td class="mdname1" valign="top" nowrap> </td>
|
||
<td class="md" valign="top">) </td>
|
||
<td class="md" nowrap>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing=5 cellpadding=0 border=0>
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
Iterates F(D,X,P) for each element X of the list L (from the right or the end of the list).
|
||
<p>
|
||
In other words,
|
||
<p>
|
||
<pre><div class="fragment"><pre>
|
||
BOOST_PP_LIST_FOLD_RIGHT(F,L,P)
|
||
</pre></div></pre>
|
||
<p>
|
||
expands to:
|
||
<p>
|
||
<pre><div class="fragment"><pre>
|
||
F
|
||
( D
|
||
, BOOST_PP_LIST_AT(L,0)
|
||
, ... F
|
||
( D
|
||
, BOOST_PP_LIST_AT(L,BOOST_PP_SUB(BOOST_PP_LIST_SIZE(L),2))
|
||
, F
|
||
( D
|
||
, BOOST_PP_LIST_AT(L,BOOST_PP_SUB(BOOST_PP_LIST_SIZE(L),1))
|
||
, P
|
||
)
|
||
) ...
|
||
)
|
||
</pre></div></pre>
|
||
<p>
|
||
See <a class="el" href="fold__left_8hpp.html#a0">BOOST_PP_LIST_FOLD_LEFT</a>(). </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>
|