1 # /* **************************************************************************
3 # * (C) Copyright Edward Diener 2011.
4 # * Distributed under the Boost Software License, Version 1.0. (See
5 # * accompanying file LICENSE_1_0.txt or copy at
6 # * http://www.boost.org/LICENSE_1_0.txt)
8 # ************************************************************************** */
10 # /* Revised by Paul Mensonides (2011) */
12 # /* See http://www.boost.org for most recent version. */
14 # ifndef BOOST_PREPROCESSOR_LIST_TO_SEQ_HPP
15 # define BOOST_PREPROCESSOR_LIST_TO_SEQ_HPP
17 # include <boost/preprocessor/list/for_each.hpp>
19 # /* BOOST_PP_LIST_TO_SEQ */
21 # define BOOST_PP_LIST_TO_SEQ(list) \
22 BOOST_PP_LIST_FOR_EACH(BOOST_PP_LIST_TO_SEQ_MACRO, ~, list) \
24 # define BOOST_PP_LIST_TO_SEQ_MACRO(r, data, elem) (elem)
26 # /* BOOST_PP_LIST_TO_SEQ_R */
28 # define BOOST_PP_LIST_TO_SEQ_R(r, list) \
29 BOOST_PP_LIST_FOR_EACH_R(r, BOOST_PP_LIST_TO_SEQ_MACRO, ~, list) \
32 # endif /* BOOST_PREPROCESSOR_LIST_TO_SEQ_HPP */