diff -dur /home/wolf/programs/boost_1_44_0/boost/preprocessor/seq/detail/split.hpp /home/wolf/programs/boost_1_44_0_patched/boost/preprocessor/seq/detail/split.hpp --- /home/wolf/programs/boost_1_44_0/boost/preprocessor/seq/detail/split.hpp 2004-07-27 05:43:34.000000000 +0200 +++ /home/wolf/programs/boost_1_44_0_patched/boost/preprocessor/seq/detail/split.hpp 2010-09-18 15:26:14.052529888 +0200 @@ -22,9 +22,11 @@ # define BOOST_PP_SEQ_SPLIT_D(n, seq) (BOOST_PP_SEQ_SPLIT_ ## n seq) # else # define BOOST_PP_SEQ_SPLIT_D(n, seq) (BOOST_PP_SEQ_SPLIT_ ## n ## seq) +# define BOOST_PP_SEQ_SPLIT_0_BOOST_PP_EMPTY BOOST_PP_EMPTY, BOOST_PP_EMPTY # endif # -# define BOOST_PP_SEQ_SPLIT_1(x) (x), +# define BOOST_PP_SEQ_SPLIT_0 BOOST_PP_EMPTY, +# define BOOST_PP_SEQ_SPLIT_1(x) (x) BOOST_PP_EMPTY, # define BOOST_PP_SEQ_SPLIT_2(x) (x) BOOST_PP_SEQ_SPLIT_1 # define BOOST_PP_SEQ_SPLIT_3(x) (x) BOOST_PP_SEQ_SPLIT_2 # define BOOST_PP_SEQ_SPLIT_4(x) (x) BOOST_PP_SEQ_SPLIT_3 diff -dur /home/wolf/programs/boost_1_44_0/boost/preprocessor/seq/first_n.hpp /home/wolf/programs/boost_1_44_0_patched/boost/preprocessor/seq/first_n.hpp --- /home/wolf/programs/boost_1_44_0/boost/preprocessor/seq/first_n.hpp 2004-10-25 01:52:55.000000000 +0200 +++ /home/wolf/programs/boost_1_44_0_patched/boost/preprocessor/seq/first_n.hpp 2010-09-18 15:26:14.052529888 +0200 @@ -13,18 +13,17 @@ # define BOOST_PREPROCESSOR_SEQ_FIRST_N_HPP # # include -# include +# include # include -# include # include # # /* BOOST_PP_SEQ_FIRST_N */ # # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() -# define BOOST_PP_SEQ_FIRST_N(n, seq) BOOST_PP_IF(n, BOOST_PP_TUPLE_ELEM, BOOST_PP_TUPLE_EAT_3)(2, 0, BOOST_PP_SEQ_SPLIT(n, seq (nil))) +# define BOOST_PP_SEQ_FIRST_N(n, seq) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_SEQ_SPLIT(n, seq BOOST_PP_EMPTY))() # else # define BOOST_PP_SEQ_FIRST_N(n, seq) BOOST_PP_SEQ_FIRST_N_I(n, seq) -# define BOOST_PP_SEQ_FIRST_N_I(n, seq) BOOST_PP_IF(n, BOOST_PP_TUPLE_ELEM, BOOST_PP_TUPLE_EAT_3)(2, 0, BOOST_PP_SEQ_SPLIT(n, seq (nil))) +# define BOOST_PP_SEQ_FIRST_N_I(n, seq) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_SEQ_SPLIT(n, seq BOOST_PP_EMPTY))() # endif # # endif diff -dur /home/wolf/programs/boost_1_44_0/boost/preprocessor/seq/rest_n.hpp /home/wolf/programs/boost_1_44_0_patched/boost/preprocessor/seq/rest_n.hpp --- /home/wolf/programs/boost_1_44_0/boost/preprocessor/seq/rest_n.hpp 2004-07-27 05:43:34.000000000 +0200 +++ /home/wolf/programs/boost_1_44_0_patched/boost/preprocessor/seq/rest_n.hpp 2010-09-18 15:26:14.062496308 +0200 @@ -12,7 +12,6 @@ # ifndef BOOST_PREPROCESSOR_SEQ_REST_N_HPP # define BOOST_PREPROCESSOR_SEQ_REST_N_HPP # -# include # include # include # include @@ -21,10 +20,10 @@ # /* BOOST_PP_SEQ_REST_N */ # # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() -# define BOOST_PP_SEQ_REST_N(n, seq) BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_SEQ_SPLIT(BOOST_PP_INC(n), (nil) seq BOOST_PP_EMPTY))() +# define BOOST_PP_SEQ_REST_N(n, seq) BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_SEQ_SPLIT(n, seq BOOST_PP_EMPTY))() # else # define BOOST_PP_SEQ_REST_N(n, seq) BOOST_PP_SEQ_REST_N_I(n, seq) -# define BOOST_PP_SEQ_REST_N_I(n, seq) BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_SEQ_SPLIT(BOOST_PP_INC(n), (nil) seq BOOST_PP_EMPTY))() +# define BOOST_PP_SEQ_REST_N_I(n, seq) BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_SEQ_SPLIT(n, seq BOOST_PP_EMPTY))() # endif # # endif