From 045d40e5a6a799620a1a7fe67f030f03395fa374 Mon Sep 17 00:00:00 2001 From: Vesa Karvonen Date: Sun, 24 Feb 2002 07:52:50 +0000 Subject: [PATCH] Added BOOST_PP_LIST_FOLD_LEFT_2ND and BOOST_PP_LIST_FOLD_RIGHT_2ND [SVN r12927] --- doc/reference/index.htm | 6 +++ doc/reference/list_append.htm | 4 +- doc/reference/list_fold_left.htm | 4 +- doc/reference/list_fold_left_2nd.htm | 55 +++++++++++++++++++++++++++ doc/reference/list_fold_right.htm | 4 +- doc/reference/list_fold_right_2nd.htm | 55 +++++++++++++++++++++++++++ doc/reference/list_for_each.htm | 4 +- 7 files changed, 124 insertions(+), 8 deletions(-) create mode 100644 doc/reference/list_fold_left_2nd.htm create mode 100644 doc/reference/list_fold_right_2nd.htm diff --git a/doc/reference/index.htm b/doc/reference/index.htm index c438432..b8df380 100644 --- a/doc/reference/index.htm +++ b/doc/reference/index.htm @@ -72,8 +72,12 @@
BOOST_PP_LIST_FIRST_N
BOOST_PP_LIST_FIRST_N_D
BOOST_PP_LIST_FOLD_LEFT
+
BOOST_PP_LIST_FOLD_LEFT_2ND
+
BOOST_PP_LIST_FOLD_LEFT_2ND_D
BOOST_PP_LIST_FOLD_LEFT_D
BOOST_PP_LIST_FOLD_RIGHT
+
BOOST_PP_LIST_FOLD_RIGHT_2ND
+
BOOST_PP_LIST_FOLD_RIGHT_2ND_D
BOOST_PP_LIST_FOLD_RIGHT_D
BOOST_PP_LIST_FOR_EACH
BOOST_PP_LIST_FOR_EACH_PRODUCT
@@ -204,7 +208,9 @@
#include <boost/preprocessor/list/filter.hpp>
#include <boost/preprocessor/list/first_n.hpp>
#include <boost/preprocessor/list/fold_left.hpp>
+
#include <boost/preprocessor/list/fold_left_2nd.hpp>
#include <boost/preprocessor/list/fold_right.hpp>
+
#include <boost/preprocessor/list/fold_right_2nd.hpp>
#include <boost/preprocessor/list/for_each.hpp>
#include <boost/preprocessor/list/for_each_product.hpp>
#include <boost/preprocessor/list/rest_n.hpp>
diff --git a/doc/reference/list_append.htm b/doc/reference/list_append.htm index 8dec12a..2539f82 100644 --- a/doc/reference/list_append.htm +++ b/doc/reference/list_append.htm @@ -26,7 +26,7 @@
-

#define BOOST_PP_LIST_APPEND(L,P)

+

#define BOOST_PP_LIST_APPEND(L,R)

Catenates two lists together.

For example,

@@ -56,7 +56,7 @@
-

#define BOOST_PP_LIST_APPEND_D(D,L,P)

+

#define BOOST_PP_LIST_APPEND_D(D,L,R)

Can be used inside BOOST_PP_WHILE().


diff --git a/doc/reference/list_fold_left.htm b/doc/reference/list_fold_left.htm index 4eb1d98..7de365d 100644 --- a/doc/reference/list_fold_left.htm +++ b/doc/reference/list_fold_left.htm @@ -19,7 +19,7 @@
-Prev Next Macros Headers +Prev Next Macros Headers

#include <boost/preprocessor/list/fold_left.hpp>

@@ -67,7 +67,7 @@ list L (from the left or the start of the list).

Can be used inside BOOST_PP_WHILE().


-Prev Next Macros Headers +Prev Next Macros Headers

Revised

diff --git a/doc/reference/list_fold_left_2nd.htm b/doc/reference/list_fold_left_2nd.htm new file mode 100644 index 0000000..398b087 --- /dev/null +++ b/doc/reference/list_fold_left_2nd.htm @@ -0,0 +1,55 @@ + + + +Boost.Preprocessor - Reference + + + + + + + +
+

C++ Boost

+
+

Boost.Preprocessor

+

Reference

+
+ +
+ +Prev Next Macros Headers +
+ +

#include <boost/preprocessor/list/fold_left_2nd.hpp>

+ +
+ +

#define BOOST_PP_LIST_FOLD_LEFT_2ND(F,P,L)

+

Same as BOOST_PP_LIST_FOLD_LEFT(), but implemented independently.

+ +

Uses

+ + +
+ +

#define BOOST_PP_LIST_FOLD_LEFT_2ND_D(D,F,P,L)

+

Can be used inside BOOST_PP_WHILE().

+
+ +Prev Next Macros Headers +
+ +

Revised

+ +

© Copyright Housemarque Oy 2002

+ +

Permission to copy, use, modify, sell and distribute this document is granted +provided this copyright notice appears in all copies. This document is provided +"as is" without express or implied warranty, and with no claim as to its suitability +for any purpose.

+ + diff --git a/doc/reference/list_fold_right.htm b/doc/reference/list_fold_right.htm index 6623efa..52ce289 100644 --- a/doc/reference/list_fold_right.htm +++ b/doc/reference/list_fold_right.htm @@ -19,7 +19,7 @@
-Prev Next Macros Headers +Prev Next Macros Headers

#include <boost/preprocessor/list/fold_right.hpp>

@@ -64,7 +64,7 @@ list L (from the right or the end of the list).

Can be used inside BOOST_PP_WHILE().


-Prev Next Macros Headers +Prev Next Macros Headers

Revised

diff --git a/doc/reference/list_fold_right_2nd.htm b/doc/reference/list_fold_right_2nd.htm new file mode 100644 index 0000000..970c6bb --- /dev/null +++ b/doc/reference/list_fold_right_2nd.htm @@ -0,0 +1,55 @@ + + + +Boost.Preprocessor - Reference + + + + + + + +
+

C++ Boost

+
+

Boost.Preprocessor

+

Reference

+
+ +
+ +Prev Next Macros Headers +
+ +

#include <boost/preprocessor/list/fold_right_2nd.hpp>

+ +
+ +

#define BOOST_PP_LIST_FOLD_RIGHT_2ND(F,L,P)

+

Same as BOOST_PP_LIST_FOLD_RIGHT(), but implemented independently.

+ +

Uses

+ + +
+ +

#define BOOST_PP_LIST_FOLD_RIGHT_2ND_D(D,F,L,P)

+

Can be used inside BOOST_PP_WHILE().

+
+ +Prev Next Macros Headers +
+ +

Revised

+ +

© Copyright Housemarque Oy 2002

+ +

Permission to copy, use, modify, sell and distribute this document is granted +provided this copyright notice appears in all copies. This document is provided +"as is" without express or implied warranty, and with no claim as to its suitability +for any purpose.

+ + diff --git a/doc/reference/list_for_each.htm b/doc/reference/list_for_each.htm index 69f76f4..2ca6563 100644 --- a/doc/reference/list_for_each.htm +++ b/doc/reference/list_for_each.htm @@ -19,7 +19,7 @@
-Prev Next Macros Headers +Prev Next Macros Headers

#include <boost/preprocessor/list/for_each.hpp>

@@ -60,7 +60,7 @@

Can be used inside BOOST_PP_FOR().


-Prev Next Macros Headers +Prev Next Macros Headers

Revised