Ticket #4523: repetition_for.2.patch

File repetition_for.2.patch, 5.9 KB (added by ookami1@…, 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  
    275275# define BOOST_PP_FOR_254(s, p, o, m) BOOST_PP_FOR_254_C(BOOST_PP_BOOL(p##(255, s)), s, p, o, m)
    276276# define BOOST_PP_FOR_255(s, p, o, m) BOOST_PP_FOR_255_C(BOOST_PP_BOOL(p##(256, s)), s, p, o, m)
    277277# 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)
    278279#
    279280# 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)
    280281# 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  
    273273# define BOOST_PP_FOR_254(s, p, o, m) BOOST_PP_FOR_254_I(s, p, o, m)
    274274# define BOOST_PP_FOR_255(s, p, o, m) BOOST_PP_FOR_255_I(s, p, o, m)
    275275# 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)
    276277#
    277278# 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)
    278279# 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)
     
    530531# 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)
    531532# 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)
    532533# 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)
    533535#
    534536# 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  
    275275# define BOOST_PP_FOR_254(s, p, o, m) BOOST_PP_FOR_254_C(BOOST_PP_BOOL(p(255, s)), s, p, o, m)
    276276# define BOOST_PP_FOR_255(s, p, o, m) BOOST_PP_FOR_255_C(BOOST_PP_BOOL(p(256, s)), s, p, o, m)
    277277# 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)
    278279#
    279280# 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)
    280281# 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  
    273273# 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)
    274274# 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)
    275275# 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)
    276277#
    277278# 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  
    4242#    include <boost/preprocessor/repetition/detail/for.hpp>
    4343# endif
    4444#
    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)
    4646#
    4747# define BOOST_PP_FOR_CHECK_BOOST_PP_NIL 1
    4848#