forked from boostorg/preprocessor
PREPROCESSOR -> PP. WHILE documented.
[SVN r12162]
This commit is contained in:
@ -8,14 +8,73 @@
|
||||
<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>tuple.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="tuple_8hpp.html#a0">BOOST_PREPROCESSOR_TUPLE_ELEM</a>(N, I, T)</td></tr>
|
||||
<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="tuple_8hpp.html#a0">BOOST_PP_TUPLE_ELEM</a>(N, I, T)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Expands to the I:th element of an N-tuple.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="tuple_8hpp.html#a1">BOOST_PREPROCESSOR_TUPLE_ELEM</a>(N, I, T)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Obsolete. Use <a class="el" href="tuple_8hpp.html#a0">BOOST_PP_TUPLE_ELEM</a>().</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
<a href="../../../../boost/preprocessor/tuple.hpp">Click here to see the header.</a>
|
||||
<p>
|
||||
<hr><h2>Define Documentation</h2>
|
||||
<a name="a0" doxytag="tuple.hpp::BOOST_PREPROCESSOR_TUPLE_ELEM"></a><p>
|
||||
<a name="a0" doxytag="tuple.hpp::BOOST_PP_TUPLE_ELEM"></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_TUPLE_ELEM</td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">N, <tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>I, <tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>T </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>
|
||||
Expands to the I:th element of an N-tuple.
|
||||
<p>
|
||||
Tuples can be used for representing structured data.
|
||||
<p>
|
||||
Examples of tuples:
|
||||
<p>
|
||||
<pre><div class="fragment"><pre>
|
||||
2-tuple: (A, B)
|
||||
3-tuple: (1, 2, 3)
|
||||
4-tuple: (A B C, D, EF, 34)
|
||||
</pre></div></pre>
|
||||
<p>
|
||||
Example:
|
||||
<p>
|
||||
<pre><div class="fragment"><pre>
|
||||
BOOST_PP_TUPLE_ELEM(2,1,(A,B))
|
||||
</pre></div></pre>
|
||||
<p>
|
||||
The above expands to:
|
||||
<p>
|
||||
<pre><div class="fragment"><pre>
|
||||
B
|
||||
</pre></div></pre>
|
||||
<p>
|
||||
See also BOOST_PP_LIMIT_TUPLE. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a1" doxytag="tuple.hpp::BOOST_PREPROCESSOR_TUPLE_ELEM"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
@ -45,27 +104,9 @@
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Expands to the I:th element of an N-tuple.
|
||||
Obsolete. Use <a class="el" href="tuple_8hpp.html#a0">BOOST_PP_TUPLE_ELEM</a>().
|
||||
<p>
|
||||
Examples of tuples:
|
||||
<p>
|
||||
<pre><div class="fragment"><pre>
|
||||
2-tuple: (A, B)
|
||||
3-tuple: (1, 2, 3)
|
||||
4-tuple: (A B C, D, EF, 34)
|
||||
</pre></div></pre>
|
||||
<p>
|
||||
Example:
|
||||
<p>
|
||||
<pre><div class="fragment"><pre>
|
||||
BOOST_PREPROCESSOR_TUPLE_ELEM(2,1,(A,B))
|
||||
</pre></div></pre>
|
||||
<p>
|
||||
The above expands to:
|
||||
<p>
|
||||
<pre><div class="fragment"><pre>
|
||||
B
|
||||
</pre></div></pre> </td>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
|
Reference in New Issue
Block a user