Files
externals/linux/include/ActivBoost/preprocessor/seq/remove.hpp
T

30 lines
1.4 KiB
C++

# /* **************************************************************************
# * *
# * (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)
# * *
# ************************************************************************** */
#
# /* See http://www.boost.org for most recent version. */
#
# ifndef ACTIV_BOOST_PREPROCESSOR_SEQ_REMOVE_HPP
# define ACTIV_BOOST_PREPROCESSOR_SEQ_REMOVE_HPP
#
# include <ActivBoost/preprocessor/arithmetic/inc.hpp>
# include <ActivBoost/preprocessor/config/config.hpp>
# include <ActivBoost/preprocessor/seq/first_n.hpp>
# include <ActivBoost/preprocessor/seq/rest_n.hpp>
#
# /* ACTIV_BOOST_PP_SEQ_REMOVE */
#
# if ~ACTIV_BOOST_PP_CONFIG_FLAGS() & ACTIV_BOOST_PP_CONFIG_EDG()
# define ACTIV_BOOST_PP_SEQ_REMOVE(seq, i) ACTIV_BOOST_PP_SEQ_FIRST_N(i, seq) ACTIV_BOOST_PP_SEQ_REST_N(ACTIV_BOOST_PP_INC(i), seq)
# else
# define ACTIV_BOOST_PP_SEQ_REMOVE(seq, i) ACTIV_BOOST_PP_SEQ_REMOVE_I(seq, i)
# define ACTIV_BOOST_PP_SEQ_REMOVE_I(seq, i) ACTIV_BOOST_PP_SEQ_FIRST_N(i, seq) ACTIV_BOOST_PP_SEQ_REST_N(ACTIV_BOOST_PP_INC(i), seq)
# endif
#
# endif