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 @@
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.
+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) --
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.
+*/ #includeexpands 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) --