diff --git a/doc/reference/tuple.htm b/doc/reference/tuple.htm index 7ae3b65..8964118 100644 --- a/doc/reference/tuple.htm +++ b/doc/reference/tuple.htm @@ -23,7 +23,24 @@

#include <boost/preprocessor/tuple.hpp>

-

Includes all tuple headers.

+

Includes all tuple headers.

+ +

A tuple is a fixed size collection of elements.

+ +

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.

+ +

Examples of tuples:

+ +
+  (const, volatile)    // 2-tuple
+  (*, /, %)            // 3-tuple
+  (1, "2", '3', (4,5)) // 4-tuple
+
+ +

Tuples can be used for representing structured data.

+
Prev Next Macros Headers diff --git a/doc/reference/tuple_elem.htm b/doc/reference/tuple_elem.htm index d9f1632..7b805c2 100644 --- a/doc/reference/tuple_elem.htm +++ b/doc/reference/tuple_elem.htm @@ -37,16 +37,6 @@

expands to B.

-

Tuples can be used for representing structured data.

- -

Examples of tuples:

- -
-  2-tuple: (A, B)
-  3-tuple: (1, 2, 3)
-  4-tuple: (A B C, D, EF, 34)
-
-

See