123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # /* **************************************************************************
- # * *
- # * (C) Copyright Paul Mensonides 2002.
- # * Distributed under the Boost Software License, Version 1.0.
- # * *
- # ************************************************************************** */
- #
- # /* See http://www.boost.org for most recent version. */
- #
- # ifndef BOOST_PREPROCESSOR_TUPLE_TO_SEQ_HPP
- # define BOOST_PREPROCESSOR_TUPLE_TO_SEQ_HPP
- #
- # include <boost/preprocessor/config/config.hpp>
- #
- # /* BOOST_PP_TUPLE_TO_SEQ */
- #
- # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
- # define BOOST_PP_TUPLE_TO_SEQ(size, tuple) BOOST_PP_TUPLE_TO_SEQ_I(size, tuple)
- # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
- # define BOOST_PP_TUPLE_TO_SEQ_I(s, t) BOOST_PP_TUPLE_TO_SEQ_ ## s t
- # else
- # define BOOST_PP_TUPLE_TO_SEQ_I(s, t) BOOST_PP_TUPLE_TO_SEQ_II(BOOST_PP_TUPLE_TO_SEQ_ ## s t)
- # define BOOST_PP_TUPLE_TO_SEQ_II(res) res
- # endif
- # else
- # define BOOST_PP_TUPLE_TO_SEQ(size, tuple) BOOST_PP_TUPLE_TO_SEQ_OO((size, tuple))
- # define BOOST_PP_TUPLE_TO_SEQ_OO(par) BOOST_PP_TUPLE_TO_SEQ_I ## par
- # define BOOST_PP_TUPLE_TO_SEQ_I(s, t) BOOST_PP_TUPLE_TO_SEQ_ ## s ## t
- # endif
- #
- # define BOOST_PP_TUPLE_TO_SEQ_0
- # define BOOST_PP_TUPLE_TO_SEQ_1
- # define BOOST_PP_TUPLE_TO_SEQ_2
- # define BOOST_PP_TUPLE_TO_SEQ_3
- # define BOOST_PP_TUPLE_TO_SEQ_4
- # define BOOST_PP_TUPLE_TO_SEQ_5
- # define BOOST_PP_TUPLE_TO_SEQ_6
- # define BOOST_PP_TUPLE_TO_SEQ_7
- # define BOOST_PP_TUPLE_TO_SEQ_8
- # define BOOST_PP_TUPLE_TO_SEQ_9
- # define BOOST_PP_TUPLE_TO_SEQ_10
- # define BOOST_PP_TUPLE_TO_SEQ_11
- # define BOOST_PP_TUPLE_TO_SEQ_12
- # define BOOST_PP_TUPLE_TO_SEQ_13
- # define BOOST_PP_TUPLE_TO_SEQ_14
- # define BOOST_PP_TUPLE_TO_SEQ_15
- # define BOOST_PP_TUPLE_TO_SEQ_16
- # define BOOST_PP_TUPLE_TO_SEQ_17
- # define BOOST_PP_TUPLE_TO_SEQ_18
- # define BOOST_PP_TUPLE_TO_SEQ_19
- # define BOOST_PP_TUPLE_TO_SEQ_20
- # define BOOST_PP_TUPLE_TO_SEQ_21
- # define BOOST_PP_TUPLE_TO_SEQ_22
- # define BOOST_PP_TUPLE_TO_SEQ_23
- # define BOOST_PP_TUPLE_TO_SEQ_24
- # define BOOST_PP_TUPLE_TO_SEQ_25
- #
- # endif
|