Increased while loops by one to encompass maximum numbers.

This commit is contained in:
Edward Diener
2020-07-10 23:06:27 -04:00
parent c8e005f696
commit 0fbfe9c981
8 changed files with 26 additions and 13 deletions

View File

@ -14,6 +14,7 @@
# ifndef BOOST_PREPROCESSOR_CONTROL_DETAIL_MSVC_WHILE_256_HPP
# define BOOST_PREPROCESSOR_CONTROL_DETAIL_MSVC_WHILE_256_HPP
#
# define BOOST_PP_WHILE_0(p, o, s) BOOST_PP_IF(p(1, s), BOOST_PP_WHILE_1, s BOOST_PP_TUPLE_EAT_3)(p, o, o(1, s))
# define BOOST_PP_WHILE_1(p, o, s) BOOST_PP_IF(p(2, s), BOOST_PP_WHILE_2, s BOOST_PP_TUPLE_EAT_3)(p, o, o(2, s))
# define BOOST_PP_WHILE_2(p, o, s) BOOST_PP_IF(p(3, s), BOOST_PP_WHILE_3, s BOOST_PP_TUPLE_EAT_3)(p, o, o(3, s))
# define BOOST_PP_WHILE_3(p, o, s) BOOST_PP_IF(p(4, s), BOOST_PP_WHILE_4, s BOOST_PP_TUPLE_EAT_3)(p, o, o(4, s))