epoc32/include/stdapis/boost/preprocessor/seq.hpp
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     7 #  *                                                                          *
     7 #  *                                                                          *
     8 #  ************************************************************************** */
     8 #  ************************************************************************** */
     9 #
     9 #
    10 # /* See http://www.boost.org for most recent version. */
    10 # /* See http://www.boost.org for most recent version. */
    11 #
    11 #
    12 # ifndef BOOST_PREPROCESSOR_SEQ_SEQ_HPP
    12 # ifndef BOOST_PREPROCESSOR_SEQ_HPP
    13 # define BOOST_PREPROCESSOR_SEQ_SEQ_HPP
    13 # define BOOST_PREPROCESSOR_SEQ_HPP
    14 #
    14 #
    15 # include <boost/preprocessor/config/config.hpp>
    15 # include <boost/preprocessor/seq/cat.hpp>
    16 # include <boost/preprocessor/seq/elem.hpp>
    16 # include <boost/preprocessor/seq/elem.hpp>
    17 #
    17 # include <boost/preprocessor/seq/enum.hpp>
    18 # /* BOOST_PP_SEQ_HEAD */
    18 # include <boost/preprocessor/seq/filter.hpp>
    19 #
    19 # include <boost/preprocessor/seq/first_n.hpp>
    20 # define BOOST_PP_SEQ_HEAD(seq) BOOST_PP_SEQ_ELEM(0, seq)
    20 # include <boost/preprocessor/seq/fold_left.hpp>
    21 #
    21 # include <boost/preprocessor/seq/fold_right.hpp>
    22 # /* BOOST_PP_SEQ_TAIL */
    22 # include <boost/preprocessor/seq/for_each.hpp>
    23 #
    23 # include <boost/preprocessor/seq/for_each_i.hpp>
    24 # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
    24 # include <boost/preprocessor/seq/for_each_product.hpp>
    25 #    define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_1((seq))
    25 # include <boost/preprocessor/seq/insert.hpp>
    26 #    define BOOST_PP_SEQ_TAIL_1(par) BOOST_PP_SEQ_TAIL_2 ## par
    26 # include <boost/preprocessor/seq/pop_back.hpp>
    27 #    define BOOST_PP_SEQ_TAIL_2(seq) BOOST_PP_SEQ_TAIL_I ## seq
    27 # include <boost/preprocessor/seq/pop_front.hpp>
    28 # elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
    28 # include <boost/preprocessor/seq/push_back.hpp>
    29 #    define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_ID(BOOST_PP_SEQ_TAIL_I seq)
    29 # include <boost/preprocessor/seq/push_front.hpp>
    30 #    define BOOST_PP_SEQ_TAIL_ID(id) id
    30 # include <boost/preprocessor/seq/remove.hpp>
    31 # elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
    31 # include <boost/preprocessor/seq/replace.hpp>
    32 #    define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_D(seq)
    32 # include <boost/preprocessor/seq/rest_n.hpp>
    33 #    define BOOST_PP_SEQ_TAIL_D(seq) BOOST_PP_SEQ_TAIL_I seq
    33 # include <boost/preprocessor/seq/reverse.hpp>
    34 # else
    34 # include <boost/preprocessor/seq/seq.hpp>
    35 #    define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_I seq
    35 # include <boost/preprocessor/seq/size.hpp>
    36 # endif
    36 # include <boost/preprocessor/seq/subseq.hpp>
    37 #
    37 # include <boost/preprocessor/seq/to_array.hpp>
    38 # define BOOST_PP_SEQ_TAIL_I(x)
    38 # include <boost/preprocessor/seq/to_tuple.hpp>
    39 #
    39 # include <boost/preprocessor/seq/transform.hpp>
    40 # /* BOOST_PP_SEQ_NIL */
       
    41 #
       
    42 # define BOOST_PP_SEQ_NIL(x) (x)
       
    43 #
    40 #
    44 # endif
    41 # endif