forked from boostorg/preprocessor
Further separation to strict and non-strict implementations.
This commit is contained in:
@ -14,13 +14,26 @@
|
||||
# ifndef BOOST_PREPROCESSOR_CONTROL_DEDUCE_D_HPP
|
||||
# define BOOST_PREPROCESSOR_CONTROL_DEDUCE_D_HPP
|
||||
#
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()
|
||||
#
|
||||
# include <boost/preprocessor/control/while.hpp>
|
||||
# include <boost/preprocessor/detail/auto_rec.hpp>
|
||||
#
|
||||
# /* BOOST_PP_DEDUCE_D */
|
||||
#
|
||||
# define BOOST_PP_DEDUCE_D() BOOST_PP_AUTO_REC(BOOST_PP_WHILE_P, 256)
|
||||
#
|
||||
# else
|
||||
#
|
||||
# include <boost/preprocessor/arithmetic/dec.hpp>
|
||||
# include <boost/preprocessor/control/while.hpp>
|
||||
# include <boost/preprocessor/detail/auto_rec.hpp>
|
||||
# include <boost/preprocessor/config/limits.hpp>
|
||||
#
|
||||
# /* BOOST_PP_DEDUCE_D */
|
||||
#
|
||||
# if BOOST_PP_LIMIT_WHILE == 256
|
||||
# define BOOST_PP_DEDUCE_D() BOOST_PP_DEC(BOOST_PP_AUTO_REC(BOOST_PP_WHILE_P, 256))
|
||||
# elif BOOST_PP_LIMIT_WHILE == 512
|
||||
@ -32,3 +45,5 @@
|
||||
# endif
|
||||
#
|
||||
# endif
|
||||
#
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user