[SVN r15272]
This commit is contained in:
Paul Mensonides
2002-09-12 08:00:48 +00:00
parent 0d9fa12aa6
commit 859b360101
94 changed files with 6344 additions and 4391 deletions

View File

@ -15,23 +15,19 @@
# ifndef BOOST_PREPROCESSOR_ARITHMETIC_INC_HPP
# define BOOST_PREPROCESSOR_ARITHMETIC_INC_HPP
#
# include <boost/preprocessor/cat.hpp>
# include <boost/preprocessor/config/config.hpp>
#
# /* BOOST_PP_INC */
#
# if BOOST_PP_CONFIG_FLAGS & BOOST_PP_CONFIG_IDEAL
# define BOOST_PP_INC(x) BOOST_PP_CAT(BOOST_PP_INC_, x)
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
# define BOOST_PP_INC(x) BOOST_PP_INC_I(x)
# else
# if ~BOOST_PP_CONFIG_FLAGS & BOOST_PP_CONFIG_MWCW
# define BOOST_PP_INC(x) BOOST_PP_INC_D(x)
# else
# define BOOST_PP_INC(x) BOOST_PP_EVIL_INC_D((x))
# define BOOST_PP_EVIL_INC_D(par) BOOST_PP_INC_D ## par
# endif
# define BOOST_PP_INC_D(x) BOOST_PP_INC_ ## x
# define BOOST_PP_INC(x) BOOST_PP_INC_OO((x))
# define BOOST_PP_INC_OO(par) BOOST_PP_INC_I ## par
# endif
#
# define BOOST_PP_INC_I(x) BOOST_PP_INC_ ## x
#
# define BOOST_PP_INC_0 1
# define BOOST_PP_INC_1 2
# define BOOST_PP_INC_2 3