diff --git a/doc/ref/enum_params_with_defaults.html b/doc/ref/enum_params_with_defaults.html index d731069..d58255c 100644 --- a/doc/ref/enum_params_with_defaults.html +++ b/doc/ref/enum_params_with_defaults.html @@ -64,10 +64,10 @@ #include <boost/preprocessor/repetition/enum_params_with_defaults.hpp> BOOST_PP_ENUM_PARAMS_WITH_DEFAULTS(3, class T, U) - // expands to T0 = U0, T1 = U1, T2 = U2 + // expands to class T0 = U0, class T1 = U1, class T2 = U2 BOOST_PP_ENUM_BINARY_PARAMS(3, class T, = U) - // expands to T0 = U0, T1 = U1, T2 = U2 + // expands to class T0 = U0, class T1 = U1, class T2 = U2
diff --git a/doc/ref/iif.html b/doc/ref/iif.html index abd59a4..8c8f744 100644 --- a/doc/ref/iif.html +++ b/doc/ref/iif.html @@ -44,7 +44,7 @@

Sample Code

 #include <boost/preprocessor/control/iif.hpp>
-#include <boost/preprocessor/logical/or.hpp
+#include <boost/preprocessor/logical/or.hpp>
 
 #define OR_IF(p, q, t, f) BOOST_PP_IIF(BOOST_PP_OR(p, q), t, f)
 
diff --git a/doc/ref/limit_iteration_dim.html b/doc/ref/limit_iteration_dim.html
index 6262e8f..54d9c9c 100644
--- a/doc/ref/limit_iteration_dim.html
+++ b/doc/ref/limit_iteration_dim.html
@@ -13,7 +13,7 @@
 		

Remarks

- This macro currently expands to 5. + This macro currently expands to 3.

Requirements

diff --git a/doc/ref/seq_tail.html b/doc/ref/seq_tail.html index c152b0e..8c1bb59 100644 --- a/doc/ref/seq_tail.html +++ b/doc/ref/seq_tail.html @@ -5,7 +5,7 @@
- The BOOST_PP_SEQ_HEAD macro expands to all but the first element of a seq. + The BOOST_PP_SEQ_TAIL macro expands to all but the first element of a seq.

Usage diff --git a/include/boost/preprocessor/seq/cat.hpp b/include/boost/preprocessor/seq/cat.hpp index 0efd8e5..b6b09ff 100644 --- a/include/boost/preprocessor/seq/cat.hpp +++ b/include/boost/preprocessor/seq/cat.hpp @@ -26,7 +26,7 @@ BOOST_PP_IF( \ BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(seq)), \ BOOST_PP_SEQ_CAT_I, \ - BOOST_PP_SEQ_HEAD(seq) BOOST_PP_TUPLE_EAT_1 \ + BOOST_PP_SEQ_HEAD \ )(seq) \ /**/ # define BOOST_PP_SEQ_CAT_I(seq) BOOST_PP_SEQ_FOLD_LEFT(BOOST_PP_SEQ_CAT_O, BOOST_PP_SEQ_HEAD(seq), BOOST_PP_SEQ_TAIL(seq)) @@ -39,10 +39,11 @@ # define BOOST_PP_SEQ_CAT_S(s, seq) \ BOOST_PP_IF( \ BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(seq)), \ - BOOST_PP_SEQ_CAT_S_I, \ - BOOST_PP_SEQ_HEAD(seq) BOOST_PP_TUPLE_EAT_2 \ + BOOST_PP_SEQ_CAT_S_I_A, \ + BOOST_PP_SEQ_CAT_S_I_B \ )(s, seq) \ /**/ -# define BOOST_PP_SEQ_CAT_S_I(s, seq) BOOST_PP_SEQ_FOLD_LEFT_ ## s(BOOST_PP_SEQ_CAT_O, BOOST_PP_SEQ_HEAD(seq), BOOST_PP_SEQ_TAIL(seq)) +# define BOOST_PP_SEQ_CAT_S_I_A(s, seq) BOOST_PP_SEQ_FOLD_LEFT_ ## s(BOOST_PP_SEQ_CAT_O, BOOST_PP_SEQ_HEAD(seq), BOOST_PP_SEQ_TAIL(seq)) +# define BOOST_PP_SEQ_CAT_S_I_B(s, seq) BOOST_PP_SEQ_HEAD(seq) # # endif diff --git a/include/boost/preprocessor/seq/size.hpp b/include/boost/preprocessor/seq/size.hpp index 2f7b70e..385c00a 100644 --- a/include/boost/preprocessor/seq/size.hpp +++ b/include/boost/preprocessor/seq/size.hpp @@ -14,7 +14,6 @@ # # include # include -# include # # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() # define BOOST_PP_SEQ_SIZE(seq) BOOST_PP_SEQ_SIZE_I((seq))