Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:49:12

0001 # /* **************************************************************************
0002 #  *                                                                          *
0003 #  *     (C) Copyright Paul Mensonides 2002.
0004 #  *     Distributed under the Boost Software License, Version 1.0. (See
0005 #  *     accompanying file LICENSE_1_0.txt or copy at
0006 #  *     http://www.boost.org/LICENSE_1_0.txt)
0007 #  *                                                                          *
0008 #  ************************************************************************** */
0009 #
0010 # /* Revised by Edward Diener (2020) */
0011 #
0012 # /* See http://www.boost.org for most recent version. */
0013 #
0014 # ifndef BOOST_PREPROCESSOR_REPETITION_DEDUCE_R_HPP
0015 # define BOOST_PREPROCESSOR_REPETITION_DEDUCE_R_HPP
0016 #
0017 # include <boost/preprocessor/config/config.hpp>
0018 #
0019 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()
0020 #
0021 # include <boost/preprocessor/detail/auto_rec.hpp>
0022 # include <boost/preprocessor/repetition/for.hpp>
0023 #
0024 # /* BOOST_PP_DEDUCE_R */
0025 #
0026 # define BOOST_PP_DEDUCE_R() BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 256)
0027 #
0028 # else
0029 #
0030 # /* BOOST_PP_DEDUCE_R */
0031 #
0032 # include <boost/preprocessor/arithmetic/dec.hpp>
0033 # include <boost/preprocessor/detail/auto_rec.hpp>
0034 # include <boost/preprocessor/repetition/for.hpp>
0035 # include <boost/preprocessor/config/limits.hpp>
0036 #
0037 # if BOOST_PP_LIMIT_FOR == 256
0038 # define BOOST_PP_DEDUCE_R() BOOST_PP_DEC(BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 256))
0039 # elif BOOST_PP_LIMIT_FOR == 512
0040 # define BOOST_PP_DEDUCE_R() BOOST_PP_DEC(BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 512))
0041 # elif BOOST_PP_LIMIT_FOR == 1024
0042 # define BOOST_PP_DEDUCE_R() BOOST_PP_DEC(BOOST_PP_AUTO_REC(BOOST_PP_FOR_P, 1024))
0043 # else
0044 # error Incorrect value for the BOOST_PP_LIMIT_FOR limit
0045 # endif
0046 #
0047 # endif
0048 #
0049 # endif