mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-23 09:07:13 +02:00
Docs updated
[SVN r13170]
This commit is contained in:
@ -23,7 +23,24 @@
|
||||
<hr>
|
||||
|
||||
<h1>#include <<a href="../../../../boost/preprocessor/tuple.hpp">boost/preprocessor/tuple.hpp</a>></h1>
|
||||
<p>Includes all tuple headers.</p>
|
||||
<p>Includes all tuple headers.</p>
|
||||
|
||||
<p>A tuple is a fixed size collection of elements.</p>
|
||||
|
||||
<p>In the preprocessor library, tuples are represented like macro parameter
|
||||
lists. Thus an element of a tuple can be any sequence of tokens that
|
||||
constitutes a single macro parameter.</p>
|
||||
|
||||
<p>Examples of tuples:</p>
|
||||
|
||||
<pre>
|
||||
(const, volatile) // 2-tuple
|
||||
(*, /, %) // 3-tuple
|
||||
(1, "2", '3', (4,5)) // 4-tuple
|
||||
</pre>
|
||||
|
||||
<p>Tuples can be used for representing structured data.</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<a href="stringize.htm">Prev</a> <a href="tuple_eat.htm">Next</a> <a href="index.htm#Macros">Macros</a> <a href="index.htm#Headers">Headers</a>
|
||||
|
@ -37,16 +37,6 @@
|
||||
|
||||
<p>expands to <code>B</code>.</p>
|
||||
|
||||
<p>Tuples can be used for representing structured data.</p>
|
||||
|
||||
<p>Examples of tuples:</p>
|
||||
|
||||
<pre>
|
||||
2-tuple: (A, B)
|
||||
3-tuple: (1, 2, 3)
|
||||
4-tuple: (A B C, D, EF, 34)
|
||||
</pre>
|
||||
|
||||
<h3>See</h3>
|
||||
<ul>
|
||||
<li><a href="limits.htm#BOOST_PP_LIMIT_TUPLE">BOOST_PP_LIMIT_TUPLE</a></li>
|
||||
|
Reference in New Issue
Block a user