Ticket #4523: repetition_for.2.patch
File repetition_for.2.patch, 5.9 KB (added by , 12 years ago) |
---|
-
boost/preprocessor/repetition/detail/dmc/for.hpp
diff -dur /home/wolf/programs/boost_1_44_0/boost/preprocessor/repetition/detail/dmc/for.hpp /home/wolf/workspace/booster/boost/preprocessor/repetition/detail/dmc/for.hpp
old new 275 275 # define BOOST_PP_FOR_254(s, p, o, m) BOOST_PP_FOR_254_C(BOOST_PP_BOOL(p##(255, s)), s, p, o, m) 276 276 # define BOOST_PP_FOR_255(s, p, o, m) BOOST_PP_FOR_255_C(BOOST_PP_BOOL(p##(256, s)), s, p, o, m) 277 277 # define BOOST_PP_FOR_256(s, p, o, m) BOOST_PP_FOR_256_C(BOOST_PP_BOOL(p##(257, s)), s, p, o, m) 278 # define BOOST_PP_FOR_257(s, p, o, m) BOOST_PP_IIF(BOOST_PP_BOOL(p##(0, s)), BOOST_PP_FOR_0, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_NIL, BOOST_PP_NIL, BOOST_PP_NIL, BOOST_PP_NIL) 278 279 # 279 280 # define BOOST_PP_FOR_1_C(c, s, p, o, m) BOOST_PP_IIF(c, m, BOOST_PP_TUPLE_EAT_2)(2, s) BOOST_PP_IIF(c, BOOST_PP_FOR_2, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_EXPR_IIF(c, o)(2, s), p, o, m) 280 281 # define BOOST_PP_FOR_2_C(c, s, p, o, m) BOOST_PP_IIF(c, m, BOOST_PP_TUPLE_EAT_2)(3, s) BOOST_PP_IIF(c, BOOST_PP_FOR_3, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_EXPR_IIF(c, o)(3, s), p, o, m) -
boost/preprocessor/repetition/detail/edg/for.hpp
diff -dur /home/wolf/programs/boost_1_44_0/boost/preprocessor/repetition/detail/edg/for.hpp /home/wolf/workspace/booster/boost/preprocessor/repetition/detail/edg/for.hpp
old new 273 273 # define BOOST_PP_FOR_254(s, p, o, m) BOOST_PP_FOR_254_I(s, p, o, m) 274 274 # define BOOST_PP_FOR_255(s, p, o, m) BOOST_PP_FOR_255_I(s, p, o, m) 275 275 # define BOOST_PP_FOR_256(s, p, o, m) BOOST_PP_FOR_256_I(s, p, o, m) 276 # define BOOST_PP_FOR_257(s, p, o, m) BOOST_PP_FOR_257_I(s, p, o, m) 276 277 # 277 278 # define BOOST_PP_FOR_1_I(s, p, o, m) BOOST_PP_IF(p(2, s), m, BOOST_PP_TUPLE_EAT_2)(2, s) BOOST_PP_IF(p(2, s), BOOST_PP_FOR_2, BOOST_PP_TUPLE_EAT_4)(o(2, s), p, o, m) 278 279 # define BOOST_PP_FOR_2_I(s, p, o, m) BOOST_PP_IF(p(3, s), m, BOOST_PP_TUPLE_EAT_2)(3, s) BOOST_PP_IF(p(3, s), BOOST_PP_FOR_3, BOOST_PP_TUPLE_EAT_4)(o(3, s), p, o, m) … … 530 531 # define BOOST_PP_FOR_254_I(s, p, o, m) BOOST_PP_IF(p(255, s), m, BOOST_PP_TUPLE_EAT_2)(255, s) BOOST_PP_IF(p(255, s), BOOST_PP_FOR_255, BOOST_PP_TUPLE_EAT_4)(o(255, s), p, o, m) 531 532 # define BOOST_PP_FOR_255_I(s, p, o, m) BOOST_PP_IF(p(256, s), m, BOOST_PP_TUPLE_EAT_2)(256, s) BOOST_PP_IF(p(256, s), BOOST_PP_FOR_256, BOOST_PP_TUPLE_EAT_4)(o(256, s), p, o, m) 532 533 # define BOOST_PP_FOR_256_I(s, p, o, m) BOOST_PP_IF(p(257, s), m, BOOST_PP_TUPLE_EAT_2)(257, s) BOOST_PP_IF(p(257, s), BOOST_PP_FOR_257, BOOST_PP_TUPLE_EAT_4)(o(257, s), p, o, m) 534 # define BOOST_PP_FOR_257_I(s, p, o, m) BOOST_PP_IF(p(0, s), BOOST_PP_FOR_0, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_NIL, BOOST_PP_NIL, BOOST_PP_NIL, BOOST_PP_NIL) 533 535 # 534 536 # endif -
boost/preprocessor/repetition/detail/for.hpp
diff -dur /home/wolf/programs/boost_1_44_0/boost/preprocessor/repetition/detail/for.hpp /home/wolf/workspace/booster/boost/preprocessor/repetition/detail/for.hpp
old new 275 275 # define BOOST_PP_FOR_254(s, p, o, m) BOOST_PP_FOR_254_C(BOOST_PP_BOOL(p(255, s)), s, p, o, m) 276 276 # define BOOST_PP_FOR_255(s, p, o, m) BOOST_PP_FOR_255_C(BOOST_PP_BOOL(p(256, s)), s, p, o, m) 277 277 # define BOOST_PP_FOR_256(s, p, o, m) BOOST_PP_FOR_256_C(BOOST_PP_BOOL(p(257, s)), s, p, o, m) 278 # define BOOST_PP_FOR_257(s, p, o, m) BOOST_PP_IIF(BOOST_PP_BOOL(p(0, s)), BOOST_PP_FOR_0, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_NIL, BOOST_PP_NIL, BOOST_PP_NIL, BOOST_PP_NIL) 278 279 # 279 280 # define BOOST_PP_FOR_1_C(c, s, p, o, m) BOOST_PP_IIF(c, m, BOOST_PP_TUPLE_EAT_2)(2, s) BOOST_PP_IIF(c, BOOST_PP_FOR_2, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_EXPR_IIF(c, o)(2, s), p, o, m) 280 281 # define BOOST_PP_FOR_2_C(c, s, p, o, m) BOOST_PP_IIF(c, m, BOOST_PP_TUPLE_EAT_2)(3, s) BOOST_PP_IIF(c, BOOST_PP_FOR_3, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_EXPR_IIF(c, o)(3, s), p, o, m) -
boost/preprocessor/repetition/detail/msvc/for.hpp
diff -dur /home/wolf/programs/boost_1_44_0/boost/preprocessor/repetition/detail/msvc/for.hpp /home/wolf/workspace/booster/boost/preprocessor/repetition/detail/msvc/for.hpp
old new 273 273 # define BOOST_PP_FOR_254(s, p, o, m) BOOST_PP_IF(p(255, s), m, BOOST_PP_TUPLE_EAT_2)(255, s) BOOST_PP_IF(p(255, s), BOOST_PP_FOR_255, BOOST_PP_TUPLE_EAT_4)(o(255, s), p, o, m) 274 274 # define BOOST_PP_FOR_255(s, p, o, m) BOOST_PP_IF(p(256, s), m, BOOST_PP_TUPLE_EAT_2)(256, s) BOOST_PP_IF(p(256, s), BOOST_PP_FOR_256, BOOST_PP_TUPLE_EAT_4)(o(256, s), p, o, m) 275 275 # define BOOST_PP_FOR_256(s, p, o, m) BOOST_PP_IF(p(257, s), m, BOOST_PP_TUPLE_EAT_2)(257, s) BOOST_PP_IF(p(257, s), BOOST_PP_FOR_257, BOOST_PP_TUPLE_EAT_4)(o(257, s), p, o, m) 276 # define BOOST_PP_FOR_257(s, p, o, m) BOOST_PP_IF(p(0, s), BOOST_PP_FOR_0, BOOST_PP_TUPLE_EAT_4)(BOOST_PP_NIL, BOOST_PP_NIL, BOOST_PP_NIL, BOOST_PP_NIL) 276 277 # 277 278 # endif -
boost/preprocessor/repetition/for.hpp
diff -dur /home/wolf/programs/boost_1_44_0/boost/preprocessor/repetition/for.hpp /home/wolf/workspace/booster/boost/preprocessor/repetition/for.hpp
old new 42 42 # include <boost/preprocessor/repetition/detail/for.hpp> 43 43 # endif 44 44 # 45 # define BOOST_PP_FOR_ 257(s, p, o, m) BOOST_PP_ERROR(0x0002)45 # define BOOST_PP_FOR_0(s, p, o, m) BOOST_PP_ERROR(0x0002) 46 46 # 47 47 # define BOOST_PP_FOR_CHECK_BOOST_PP_NIL 1 48 48 #