forked from boostorg/preprocessor
speedups
[SVN r15272]
This commit is contained in:
@ -15,18 +15,19 @@
|
||||
# ifndef BOOST_PREPROCESSOR_TUPLE_EAT_HPP
|
||||
# define BOOST_PREPROCESSOR_TUPLE_EAT_HPP
|
||||
#
|
||||
# include <boost/preprocessor/cat.hpp>
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
#
|
||||
# /* BOOST_PP_TUPLE_EAT */
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS & BOOST_PP_CONFIG_EDG
|
||||
# define BOOST_PP_TUPLE_EAT(size) BOOST_PP_CAT(BOOST_PP_TUPLE_EAT_, size)
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
|
||||
# define BOOST_PP_TUPLE_EAT(size) BOOST_PP_TUPLE_EAT_I(size)
|
||||
# else
|
||||
# define BOOST_PP_TUPLE_EAT(size) BOOST_PP_TUPLE_EAT_D(size)
|
||||
# define BOOST_PP_TUPLE_EAT_D(size) BOOST_PP_TUPLE_EAT_ ## size
|
||||
# define BOOST_PP_TUPLE_EAT(size) BOOST_PP_TUPLE_EAT_OO((size))
|
||||
# define BOOST_PP_TUPLE_EAT_OO(par) BOOST_PP_TUPLE_EAT_I ## par
|
||||
# endif
|
||||
#
|
||||
# define BOOST_PP_TUPLE_EAT_I(size) BOOST_PP_TUPLE_EAT_ ## size
|
||||
#
|
||||
# define BOOST_PP_TUPLE_EAT_0()
|
||||
# define BOOST_PP_TUPLE_EAT_1(a)
|
||||
# define BOOST_PP_TUPLE_EAT_2(a, b)
|
||||
|
Reference in New Issue
Block a user