From a3e207e70645684637474f853327f608b2d37653 Mon Sep 17 00:00:00 2001 From: Vesa Karvonen Date: Sun, 10 Mar 2002 15:15:41 +0000 Subject: [PATCH] Docs updated [SVN r13170] --- doc/reference/tuple.htm | 19 ++++++++++++++++++- doc/reference/tuple_elem.htm | 10 ---------- include/boost/preprocessor/tuple.hpp | 20 +++++++++++++++++++- include/boost/preprocessor/tuple/elem.hpp | 10 ---------- 4 files changed, 37 insertions(+), 22 deletions(-) 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