forked from boostorg/preprocessor
fixed redundant check
[SVN r23556]
This commit is contained in:
@ -37,5 +37,5 @@ BEGIN BOOST_PP_WHILE(PRED, OP_1, 50) == 0 END
|
||||
# define OP_2(d, state) BOOST_PP_DEC(BOOST_PP_ADD(BOOST_PP_WHILE(PRED, OP_1, state), state))
|
||||
# define OP_3(d, state) BOOST_PP_DEC(BOOST_PP_ADD_D(d, BOOST_PP_WHILE_ ## d(PRED, OP_1, state), state))
|
||||
|
||||
BEGIN BOOST_PP_WHILE(PRED, OP_3, 10) == 0 END
|
||||
BEGIN BOOST_PP_WHILE(PRED, OP_2, 10) == 0 END
|
||||
BEGIN BOOST_PP_WHILE(PRED, OP_3, 10) == 0 END
|
||||
|
Reference in New Issue
Block a user