|
Last change
on this file since 30 was
29,
checked in by landauf, 17 years ago
|
|
updated boost from 1_33_1 to 1_34_1
|
|
File size:
1.2 KB
|
| 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 | <hr size="1"> |
|---|
| 31 | <div style="margin-left: 0px;"> |
|---|
| 32 | <i>© Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i> |
|---|
| 33 | </br><i>© Copyright Paul Mensonides 2002</i> |
|---|
| 34 | </div> |
|---|
| 35 | <div style="margin-left: 0px;"> |
|---|
| 36 | <p><small>Distributed under the Boost Software License, Version 1.0. (See |
|---|
| 37 | accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or |
|---|
| 38 | copy at <a href= |
|---|
| 39 | "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> |
|---|
| 40 | </div> |
|---|
| 41 | </body> |
|---|
| 42 | </html> |
|---|
Note: See
TracBrowser
for help on using the repository browser.