Line | |
---|
1 | <html> |
---|
2 | <head> |
---|
3 | <title>tuples.html</title> |
---|
4 | <link rel="stylesheet" type="text/css" href="../styles.css"> |
---|
5 | </head> |
---|
6 | <body> |
---|
7 | <h4>Tuples</h4> |
---|
8 | <div> |
---|
9 | A <i>tuple</i> is a simple comma-separated list of elements inside parenthesis. |
---|
10 | For example, |
---|
11 | </div> |
---|
12 | <div class="code"> |
---|
13 | (<i>a</i>, <i>b</i>, <i>c</i>) |
---|
14 | </div> |
---|
15 | <div> |
---|
16 | ...is a <i>tuple</i> of <i>3</i> elements--<i>a</i>, <i>b</i>, and <i>c</i>. |
---|
17 | </div> |
---|
18 | <div> |
---|
19 | <i>Tuples</i> are fast and easy to use. |
---|
20 | However, all access to <i>tuples</i> requires knowledge of its size. |
---|
21 | </div> |
---|
22 | <div> |
---|
23 | Elements of a <i>tuple</i> can be extracted with |
---|
24 | <b>BOOST_PP_TUPLE_ELEM</b>. |
---|
25 | </div> |
---|
26 | <h4>Primitives</h4> |
---|
27 | <ul> |
---|
28 | <li><a href="../ref/tuple_elem.html">BOOST_PP_TUPLE_ELEM</a></li> |
---|
29 | </ul> |
---|
30 | </body> |
---|
31 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.