3 <title>tuples.html</title>
4 <link rel="stylesheet" type="text/css" href="../styles.css">
8 <div> A <i>tuple</i> is a simple comma-separated list of elements inside
9 parenthesis. For example, </div>
10 <div class="code"> (<i>a</i>, <i>b</i>, <i>c</i>) </div>
11 <div> ...is a <i>tuple</i> of <i>3</i> elements--<i>a</i>, <i>b</i>, and
13 <div> <i>Tuples</i> are fast and easy to use. With variadic macro
14 support it is not necessary to know the size of a <i>tuple; </i>without
15 variadic macro support all access to <i>tuples</i> requires
16 knowledge of its size. Use a <i>tuple </i>instead of an <i>array</i> if
17 your compiler supports variadic macros, since a <i>tuple </i>has all of
18 the functionality as an <i>array </i>and is easier syntactically to use.</div>
19 <div> Elements of a <i>tuple</i> can be extracted with <b>BOOST_PP_TUPLE_ELEM</b>.
23 <li><a href="../ref/tuple_elem.html">BOOST_PP_TUPLE_ELEM</a></li>
26 <div style="margin-left: 0px;"> <i>© Copyright <a href="http://www.housemarque.com"
27 target="_top">Housemarque Oy</a> 2002</i> <br>
28 <i>© Copyright Paul Mensonides 2002</i> </div>
29 <div style="margin-left: 0px;">
30 <p><small>Distributed under the Boost Software License, Version 1.0. (See
31 accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
32 or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>