epoc32/include/stdapis/boost/preprocessor/seq/for_each.hpp
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/stdapis/boost/preprocessor/seq/for_each.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,60 +0,0 @@
     1.4 -# /* **************************************************************************
     1.5 -#  *                                                                          *
     1.6 -#  *     (C) Copyright Paul Mensonides 2002.
     1.7 -#  *     Distributed under the Boost Software License, Version 1.0. (See
     1.8 -#  *     accompanying file LICENSE_1_0.txt or copy at
     1.9 -#  *     http://www.boost.org/LICENSE_1_0.txt)
    1.10 -#  *                                                                          *
    1.11 -#  ************************************************************************** */
    1.12 -#
    1.13 -# /* See http://www.boost.org for most recent version. */
    1.14 -#
    1.15 -# ifndef BOOST_PREPROCESSOR_SEQ_FOR_EACH_HPP
    1.16 -# define BOOST_PREPROCESSOR_SEQ_FOR_EACH_HPP
    1.17 -#
    1.18 -# include <boost/preprocessor/arithmetic/dec.hpp>
    1.19 -# include <boost/preprocessor/config/config.hpp>
    1.20 -# include <boost/preprocessor/repetition/for.hpp>
    1.21 -# include <boost/preprocessor/seq/seq.hpp>
    1.22 -# include <boost/preprocessor/seq/size.hpp>
    1.23 -# include <boost/preprocessor/tuple/elem.hpp>
    1.24 -# include <boost/preprocessor/tuple/rem.hpp>
    1.25 -#
    1.26 -# /* BOOST_PP_SEQ_FOR_EACH */
    1.27 -#
    1.28 -# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
    1.29 -#    define BOOST_PP_SEQ_FOR_EACH(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil)), BOOST_PP_SEQ_FOR_EACH_P, BOOST_PP_SEQ_FOR_EACH_O, BOOST_PP_SEQ_FOR_EACH_M)
    1.30 -# else
    1.31 -#    define BOOST_PP_SEQ_FOR_EACH(macro, data, seq) BOOST_PP_SEQ_FOR_EACH_D(macro, data, seq)
    1.32 -#    define BOOST_PP_SEQ_FOR_EACH_D(macro, data, seq) BOOST_PP_FOR((macro, data, seq (nil)), BOOST_PP_SEQ_FOR_EACH_P, BOOST_PP_SEQ_FOR_EACH_O, BOOST_PP_SEQ_FOR_EACH_M)
    1.33 -# endif
    1.34 -#
    1.35 -# define BOOST_PP_SEQ_FOR_EACH_P(r, x) BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(BOOST_PP_TUPLE_ELEM(3, 2, x)))
    1.36 -#
    1.37 -# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()
    1.38 -#    define BOOST_PP_SEQ_FOR_EACH_O(r, x) BOOST_PP_SEQ_FOR_EACH_O_I x
    1.39 -# else
    1.40 -#    define BOOST_PP_SEQ_FOR_EACH_O(r, x) BOOST_PP_SEQ_FOR_EACH_O_I(BOOST_PP_TUPLE_ELEM(3, 0, x), BOOST_PP_TUPLE_ELEM(3, 1, x), BOOST_PP_TUPLE_ELEM(3, 2, x))
    1.41 -# endif
    1.42 -#
    1.43 -# define BOOST_PP_SEQ_FOR_EACH_O_I(macro, data, seq) (macro, data, BOOST_PP_SEQ_TAIL(seq))
    1.44 -#
    1.45 -# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()
    1.46 -#    define BOOST_PP_SEQ_FOR_EACH_M(r, x) BOOST_PP_SEQ_FOR_EACH_M_IM(r, BOOST_PP_TUPLE_REM_3 x)
    1.47 -#    define BOOST_PP_SEQ_FOR_EACH_M_IM(r, im) BOOST_PP_SEQ_FOR_EACH_M_I(r, im)
    1.48 -# else
    1.49 -#    define BOOST_PP_SEQ_FOR_EACH_M(r, x) BOOST_PP_SEQ_FOR_EACH_M_I(r, BOOST_PP_TUPLE_ELEM(3, 0, x), BOOST_PP_TUPLE_ELEM(3, 1, x), BOOST_PP_TUPLE_ELEM(3, 2, x))
    1.50 -# endif
    1.51 -#
    1.52 -# define BOOST_PP_SEQ_FOR_EACH_M_I(r, macro, data, seq) macro(r, data, BOOST_PP_SEQ_HEAD(seq))
    1.53 -#
    1.54 -# /* BOOST_PP_SEQ_FOR_EACH_R */
    1.55 -#
    1.56 -# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
    1.57 -#    define BOOST_PP_SEQ_FOR_EACH_R(r, macro, data, seq) BOOST_PP_FOR_ ## r((macro, data, seq (nil)), BOOST_PP_SEQ_FOR_EACH_P, BOOST_PP_SEQ_FOR_EACH_O, BOOST_PP_SEQ_FOR_EACH_M)
    1.58 -# else
    1.59 -#    define BOOST_PP_SEQ_FOR_EACH_R(r, macro, data, seq) BOOST_PP_SEQ_FOR_EACH_R_I(r, macro, data, seq)
    1.60 -#    define BOOST_PP_SEQ_FOR_EACH_R_I(r, macro, data, seq) BOOST_PP_FOR_ ## r((macro, data, seq (nil)), BOOST_PP_SEQ_FOR_EACH_P, BOOST_PP_SEQ_FOR_EACH_O, BOOST_PP_SEQ_FOR_EACH_M)
    1.61 -# endif
    1.62 -#
    1.63 -# endif