forked from boostorg/preprocessor
speedups
[SVN r15272]
This commit is contained in:
@ -13,18 +13,18 @@
|
||||
# ifndef BOOST_PREPROCESSOR_DETAIL_IS_NULLARY_HPP
|
||||
# define BOOST_PREPROCESSOR_DETAIL_IS_NULLARY_HPP
|
||||
#
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
# include <boost/preprocessor/detail/check.hpp>
|
||||
#
|
||||
# /* BOOST_PP_IS_NULLARY */
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS & BOOST_PP_CONFIG_EDG
|
||||
# define BOOST_PP_IS_NULLARY BOOST_PP_IS_NULLARY_D
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
|
||||
# define BOOST_PP_IS_NULLARY(x) BOOST_PP_CHECK(x, BOOST_PP_IS_NULLARY_CHECK)
|
||||
# else
|
||||
# define BOOST_PP_IS_NULLARY(x) BOOST_PP_IS_NULLARY_D(x)
|
||||
# define BOOST_PP_IS_NULLARY(x) BOOST_PP_IS_NULLARY_I(x)
|
||||
# define BOOST_PP_IS_NULLARY_I(x) BOOST_PP_CHECK(x, BOOST_PP_IS_NULLARY_CHECK)
|
||||
# endif
|
||||
#
|
||||
# define BOOST_PP_IS_NULLARY_D(x) BOOST_PP_CHECK(x, BOOST_PP_IS_NULLARY_CHECK)
|
||||
#
|
||||
# define BOOST_PP_IS_NULLARY_CHECK() 1
|
||||
# define BOOST_PP_CHECK_RESULT_BOOST_PP_IS_NULLARY_CHECK 0, BOOST_PP_NIL
|
||||
#
|
||||
|
Reference in New Issue
Block a user