2002-09-13 22:34:09 +00:00
|
|
|
# /* **************************************************************************
|
|
|
|
# * *
|
2004-07-27 03:43:34 +00:00
|
|
|
# * (C) Copyright Paul Mensonides 2002.
|
|
|
|
# * Distributed under the Boost Software License, Version 1.0. (See
|
|
|
|
# * accompanying file LICENSE_1_0.txt or copy at
|
|
|
|
# * http://www.boost.org/LICENSE_1_0.txt)
|
2002-09-13 22:34:09 +00:00
|
|
|
# * *
|
|
|
|
# ************************************************************************** */
|
|
|
|
#
|
2020-05-01 14:38:32 -04:00
|
|
|
# /* Revised by Edward Diener (2020) */
|
|
|
|
#
|
2002-09-13 22:34:09 +00:00
|
|
|
# /* See http://www.boost.org for most recent version. */
|
|
|
|
#
|
|
|
|
# ifndef BOOST_PREPROCESSOR_REPETITION_DEDUCE_R_HPP
|
|
|
|
# define BOOST_PREPROCESSOR_REPETITION_DEDUCE_R_HPP
|
|
|
|
#
|
|
|
|
# /* BOOST_PP_DEDUCE_R */
|
|
|
|
#
|
2020-07-11 05:04:00 -04:00
|
|
|
# include <boost/preprocessor/arithmetic/dec.hpp>
|
2020-07-02 11:24:15 -04:00
|
|
|
# include <boost/preprocessor/detail/auto_rec.hpp>
|
|
|
|
# include <boost/preprocessor/repetition/for.hpp>
|
2020-05-01 14:38:32 -04:00
|
|
|
# include <boost/preprocessor/config/limits.hpp>
|
|
|
|
#
|
|
|
|
# if BOOST_PP_LIMIT_FOR == 256
|
2020-07-11 05:04:00 -04:00
|
|
|
# define BOOST_PP_DEDUCE_R() BOOST_PP_DEC(BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 256))
|
2020-05-01 14:38:32 -04:00
|
|
|
# elif BOOST_PP_LIMIT_FOR == 512
|
2020-07-11 05:04:00 -04:00
|
|
|
# define BOOST_PP_DEDUCE_R() BOOST_PP_DEC(BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 512))
|
2020-05-01 14:38:32 -04:00
|
|
|
# else
|
|
|
|
# error Incorrect value for the BOOST_PP_LIMIT_FOR limit
|
|
|
|
# endif
|
2002-09-13 22:34:09 +00:00
|
|
|
#
|
|
|
|
# endif
|