annotate DEPENDENCIES/generic/include/boost/preprocessor/repetition/enum_shifted_params.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 # /* Copyright (C) 2001
Chris@16 2 # * Housemarque Oy
Chris@16 3 # * http://www.housemarque.com
Chris@16 4 # *
Chris@16 5 # * Distributed under the Boost Software License, Version 1.0. (See
Chris@16 6 # * accompanying file LICENSE_1_0.txt or copy at
Chris@16 7 # * http://www.boost.org/LICENSE_1_0.txt)
Chris@16 8 # */
Chris@16 9 #
Chris@16 10 # /* Revised by Paul Mensonides (2002) */
Chris@16 11 #
Chris@16 12 # /* See http://www.boost.org for most recent version. */
Chris@16 13 #
Chris@16 14 # ifndef BOOST_PREPROCESSOR_REPETITION_ENUM_SHIFTED_PARAMS_HPP
Chris@16 15 # define BOOST_PREPROCESSOR_REPETITION_ENUM_SHIFTED_PARAMS_HPP
Chris@16 16 #
Chris@16 17 # include <boost/preprocessor/arithmetic/dec.hpp>
Chris@16 18 # include <boost/preprocessor/arithmetic/inc.hpp>
Chris@16 19 # include <boost/preprocessor/cat.hpp>
Chris@16 20 # include <boost/preprocessor/config/config.hpp>
Chris@16 21 # include <boost/preprocessor/punctuation/comma_if.hpp>
Chris@16 22 # include <boost/preprocessor/repetition/repeat.hpp>
Chris@16 23 #
Chris@16 24 # /* BOOST_PP_ENUM_SHIFTED_PARAMS */
Chris@16 25 #
Chris@16 26 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
Chris@16 27 # define BOOST_PP_ENUM_SHIFTED_PARAMS(count, param) BOOST_PP_REPEAT(BOOST_PP_DEC(count), BOOST_PP_ENUM_SHIFTED_PARAMS_M, param)
Chris@16 28 # else
Chris@16 29 # define BOOST_PP_ENUM_SHIFTED_PARAMS(count, param) BOOST_PP_ENUM_SHIFTED_PARAMS_I(count, param)
Chris@16 30 # define BOOST_PP_ENUM_SHIFTED_PARAMS_I(count, param) BOOST_PP_REPEAT(BOOST_PP_DEC(count), BOOST_PP_ENUM_SHIFTED_PARAMS_M, param)
Chris@16 31 # endif
Chris@16 32 #
Chris@16 33 # define BOOST_PP_ENUM_SHIFTED_PARAMS_M(z, n, param) BOOST_PP_COMMA_IF(n) BOOST_PP_CAT(param, BOOST_PP_INC(n))
Chris@16 34 #
Chris@16 35 # /* BOOST_PP_ENUM_SHIFTED_PARAMS_Z */
Chris@16 36 #
Chris@16 37 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
Chris@16 38 # define BOOST_PP_ENUM_SHIFTED_PARAMS_Z(z, count, param) BOOST_PP_REPEAT_ ## z(BOOST_PP_DEC(count), BOOST_PP_ENUM_SHIFTED_PARAMS_M, param)
Chris@16 39 # else
Chris@16 40 # define BOOST_PP_ENUM_SHIFTED_PARAMS_Z(z, count, param) BOOST_PP_ENUM_SHIFTED_PARAMS_Z_I(z, count, param)
Chris@16 41 # define BOOST_PP_ENUM_SHIFTED_PARAMS_Z_I(z, count, param) BOOST_PP_REPEAT_ ## z(BOOST_PP_DEC(count), BOOST_PP_ENUM_SHIFTED_PARAMS_M, param)
Chris@16 42 # endif
Chris@16 43 #
Chris@16 44 # endif