]> rtime.felk.cvut.cz Git - eurobot/public.git/blob - src/boost/boost/preprocessor/array/to_seq.hpp
Add subset of boost library headers needed for compilation on PowerPC
[eurobot/public.git] / src / boost / boost / preprocessor / array / to_seq.hpp
1 # /* **************************************************************************
2 #  *                                                                          *
3 #  *     (C) Copyright Edward Diener 2011.                                    *
4 #  *     (C) Copyright Paul Mensonides 2011.                                  *
5 #  *     Distributed under the Boost Software License, Version 1.0. (See      *
6 #  *     accompanying file LICENSE_1_0.txt or copy at                         *
7 #  *     http://www.boost.org/LICENSE_1_0.txt)                                *
8 #  *                                                                          *
9 #  ************************************************************************** */
10 #
11 # /* See http://www.boost.org for most recent version. */
12 #
13 # ifndef BOOST_PREPROCESSOR_ARRAY_TO_SEQ_HPP
14 # define BOOST_PREPROCESSOR_ARRAY_TO_SEQ_HPP
15 #
16 # include <boost/preprocessor/cat.hpp>
17 # include <boost/preprocessor/config/config.hpp>
18 # include <boost/preprocessor/tuple/to_seq.hpp>
19 #
20 # /* BOOST_PP_ARRAY_TO_SEQ */
21 #
22 # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
23 #    define BOOST_PP_ARRAY_TO_SEQ(array) BOOST_PP_ARRAY_TO_SEQ_I(BOOST_PP_TUPLE_TO_SEQ, array)
24 #    define BOOST_PP_ARRAY_TO_SEQ_I(m, args) BOOST_PP_ARRAY_TO_SEQ_II(m, args)
25 #    define BOOST_PP_ARRAY_TO_SEQ_II(m, args) BOOST_PP_CAT(m ## args,)
26 # elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
27 #    define BOOST_PP_ARRAY_TO_SEQ(array) BOOST_PP_ARRAY_TO_SEQ_I(array)
28 #    define BOOST_PP_ARRAY_TO_SEQ_I(array) BOOST_PP_TUPLE_TO_SEQ ## array
29 # else
30 #    define BOOST_PP_ARRAY_TO_SEQ(array) BOOST_PP_TUPLE_TO_SEQ array
31 # endif
32 #
33 # endif