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
|
old
|
new
|
|
| 22 | 22 | # define BOOST_PP_SEQ_SPLIT_D(n, seq) (BOOST_PP_SEQ_SPLIT_ ## n seq) |
| 23 | 23 | # else |
| 24 | 24 | # define BOOST_PP_SEQ_SPLIT_D(n, seq) (BOOST_PP_SEQ_SPLIT_ ## n ## seq) |
| | 25 | # define BOOST_PP_SEQ_SPLIT_0_BOOST_PP_EMPTY BOOST_PP_EMPTY, BOOST_PP_EMPTY |
| 25 | 26 | # endif |
| 26 | 27 | # |
| 27 | | # define BOOST_PP_SEQ_SPLIT_1(x) (x), |
| | 28 | # define BOOST_PP_SEQ_SPLIT_0 BOOST_PP_EMPTY, |
| | 29 | # define BOOST_PP_SEQ_SPLIT_1(x) (x) BOOST_PP_EMPTY, |
| 28 | 30 | # define BOOST_PP_SEQ_SPLIT_2(x) (x) BOOST_PP_SEQ_SPLIT_1 |
| 29 | 31 | # define BOOST_PP_SEQ_SPLIT_3(x) (x) BOOST_PP_SEQ_SPLIT_2 |
| 30 | 32 | # 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
|
old
|
new
|
|
| 13 | 13 | # define BOOST_PREPROCESSOR_SEQ_FIRST_N_HPP |
| 14 | 14 | # |
| 15 | 15 | # include <boost/preprocessor/config/config.hpp> |
| 16 | | # include <boost/preprocessor/control/if.hpp> |
| | 16 | # include <boost/preprocessor/facilities/empty.hpp> |
| 17 | 17 | # include <boost/preprocessor/seq/detail/split.hpp> |
| 18 | | # include <boost/preprocessor/tuple/eat.hpp> |
| 19 | 18 | # include <boost/preprocessor/tuple/elem.hpp> |
| 20 | 19 | # |
| 21 | 20 | # /* BOOST_PP_SEQ_FIRST_N */ |
| 22 | 21 | # |
| 23 | 22 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() |
| 24 | | # 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))) |
| | 23 | # define BOOST_PP_SEQ_FIRST_N(n, seq) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_SEQ_SPLIT(n, seq BOOST_PP_EMPTY))() |
| 25 | 24 | # else |
| 26 | 25 | # define BOOST_PP_SEQ_FIRST_N(n, seq) BOOST_PP_SEQ_FIRST_N_I(n, seq) |
| 27 | | # 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))) |
| | 26 | # define BOOST_PP_SEQ_FIRST_N_I(n, seq) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_SEQ_SPLIT(n, seq BOOST_PP_EMPTY))() |
| 28 | 27 | # endif |
| 29 | 28 | # |
| 30 | 29 | # 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
|
old
|
new
|
|
| 12 | 12 | # ifndef BOOST_PREPROCESSOR_SEQ_REST_N_HPP |
| 13 | 13 | # define BOOST_PREPROCESSOR_SEQ_REST_N_HPP |
| 14 | 14 | # |
| 15 | | # include <boost/preprocessor/arithmetic/inc.hpp> |
| 16 | 15 | # include <boost/preprocessor/config/config.hpp> |
| 17 | 16 | # include <boost/preprocessor/facilities/empty.hpp> |
| 18 | 17 | # include <boost/preprocessor/seq/detail/split.hpp> |
| … |
… |
|
| 21 | 20 | # /* BOOST_PP_SEQ_REST_N */ |
| 22 | 21 | # |
| 23 | 22 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() |
| 24 | | # 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))() |
| | 23 | # define BOOST_PP_SEQ_REST_N(n, seq) BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_SEQ_SPLIT(n, seq BOOST_PP_EMPTY))() |
| 25 | 24 | # else |
| 26 | 25 | # define BOOST_PP_SEQ_REST_N(n, seq) BOOST_PP_SEQ_REST_N_I(n, seq) |
| 27 | | # 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))() |
| | 26 | # define BOOST_PP_SEQ_REST_N_I(n, seq) BOOST_PP_TUPLE_ELEM(2, 1, BOOST_PP_SEQ_SPLIT(n, seq BOOST_PP_EMPTY))() |
| 28 | 27 | # endif |
| 29 | 28 | # |
| 30 | 29 | # endif |