diff --git a/include/boost/preprocessor/list/append.hpp b/include/boost/preprocessor/list/append.hpp index 0553817..0e7cfd7 100644 --- a/include/boost/preprocessor/list/append.hpp +++ b/include/boost/preprocessor/list/append.hpp @@ -42,9 +42,9 @@
  • list_test.cpp
  • */ -#define BOOST_PP_LIST_APPEND(L,P) BOOST_PP_LIST_APPEND_D(0,L,P) +#define BOOST_PP_LIST_APPEND(L,R) BOOST_PP_LIST_APPEND_D(0,L,R) /**

    Can be used inside BOOST_PP_WHILE().

    */ -#define BOOST_PP_LIST_APPEND_D(D,L,P) BOOST_PP_LIST_FOLD_RIGHT_D(D,BOOST_PP_LIST_APPEND_F,L,P) +#define BOOST_PP_LIST_APPEND_D(D,L,R) BOOST_PP_LIST_FOLD_RIGHT_D(D,BOOST_PP_LIST_APPEND_F,L,R) #define BOOST_PP_LIST_APPEND_F(D,H,P) (H,P,1) #endif diff --git a/include/boost/preprocessor/list/fold_left_2nd.hpp b/include/boost/preprocessor/list/fold_left_2nd.hpp index 56cfaeb..2879e85 100644 --- a/include/boost/preprocessor/list/fold_left_2nd.hpp +++ b/include/boost/preprocessor/list/fold_left_2nd.hpp @@ -16,7 +16,13 @@ #include #include -/**

    Same as BOOST_PP_FOLD_LEFT(), but is implemented independently.

    */ +/**

    Same as BOOST_PP_LIST_FOLD_LEFT(), but implemented independently.

    + +

    Uses

    + +*/ #define BOOST_PP_LIST_FOLD_LEFT_2ND(F,P,L) BOOST_PP_LIST_FOLD_LEFT_2ND_D(0,F,P,L) /**

    Can be used inside BOOST_PP_WHILE().

    */ diff --git a/include/boost/preprocessor/list/fold_right_2nd.hpp b/include/boost/preprocessor/list/fold_right_2nd.hpp index d7aa4fd..ecb1a85 100644 --- a/include/boost/preprocessor/list/fold_right_2nd.hpp +++ b/include/boost/preprocessor/list/fold_right_2nd.hpp @@ -16,7 +16,13 @@ #include #include -/**

    Same as BOOST_PP_LIST_FOLD_RIGHT(), but is implemented independently.

    */ +/**

    Same as BOOST_PP_LIST_FOLD_RIGHT(), but implemented independently.

    + +

    Uses

    +
      +
    • BOOST_PP_LIST_FOLD_LEFT_2ND()
    • +
    +*/ #define BOOST_PP_LIST_FOLD_RIGHT_2ND(F,L,P) BOOST_PP_LIST_FOLD_RIGHT_2ND_D(0,F,L,P) /**

    Can be used inside BOOST_PP_WHILE().

    */