diff --git a/include/boost/preprocessor/list/adt.hpp b/include/boost/preprocessor/list/adt.hpp index 108086b..56475d0 100644 --- a/include/boost/preprocessor/list/adt.hpp +++ b/include/boost/preprocessor/list/adt.hpp @@ -15,9 +15,12 @@ /**

This header defines the fundamental list operations.

-

NOTE: The internal representation of lists is hidden. Although there -aren't compelling reasons to change the representation, you should avoid -writing code that depends on the internal representation details.

+

Note

+ */ #include @@ -47,35 +50,17 @@ BOOST_PP_LIST_CONS(). For example,

*/ #define BOOST_PP_LIST_CONS(H,T) (H,T,1) -/**

List nil constructor.

- -

See

- -*/ +/**

List nil constructor.

*/ #define BOOST_PP_LIST_NIL (_,_,0) -/**

Expands to 1 if the list is not nil and 0 otherwise.

- -

See

- -*/ +/**

Expands to 1 if the list is not nil and 0 otherwise.

*/ #if !defined(BOOST_NO_COMPILER_CONFIG) && defined(__MWERKS__) && __MWERKS__ <= 0x2406 # define BOOST_PP_LIST_IS_CONS(L) BOOST_PP_TUPLE_ELEM(3,2,L) #else # define BOOST_PP_LIST_IS_CONS(L) BOOST_PP_TUPLE3_ELEM2 L #endif -/**

Expands to 1 if the list is nil and 0 otherwise.

- -

See

- -*/ +/**

Expands to 1 if the list is nil and 0 otherwise.

*/ #if !defined(BOOST_NO_COMPILER_CONFIG) && defined(__MWERKS__) && __MWERKS__ <= 0x2406 # define BOOST_PP_LIST_IS_NIL(L) BOOST_PP_NOT(BOOST_PP_TUPLE_ELEM(3,2,L)) #else @@ -91,11 +76,6 @@ BOOST_PP_LIST_CONS(). For example,

expands to 1.

- -

See

- */ #if !defined(BOOST_NO_COMPILER_CONFIG) && defined(__MWERKS__) && __MWERKS__ <= 0x2406 # define BOOST_PP_LIST_FIRST(L) BOOST_PP_TUPLE_ELEM(3,0,L) @@ -112,11 +92,6 @@ BOOST_PP_LIST_CONS(). For example,

expands to a list containing 2, 3, 4 and 5.

- -

See

- */ #if !defined(BOOST_NO_COMPILER_CONFIG) && defined(__MWERKS__) && __MWERKS__ <= 0x2406 # define BOOST_PP_LIST_REST(L) BOOST_PP_TUPLE_ELEM(3,1,L) diff --git a/include/boost/preprocessor/list/fold_left.hpp b/include/boost/preprocessor/list/fold_left.hpp index 595d346..ae079cf 100644 --- a/include/boost/preprocessor/list/fold_left.hpp +++ b/include/boost/preprocessor/list/fold_left.hpp @@ -34,8 +34,11 @@ ) -

Note that folding, or accumulation, is a very general pattern of computation. -Most list operations can be implemented in terms of folding.

+

Note

+

See