1# /* **************************************************************************
2# * *
3# * (C) Copyright Paul Mensonides 2012. *
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) *
7# * *
8# ************************************************************************** */
9#
10# /* See http://www.boost.org for most recent version. */
11#
12# ifndef BOOST_PREPROCESSOR_SEQ_VARIADIC_SEQ_TO_SEQ_HPP
13# define BOOST_PREPROCESSOR_SEQ_VARIADIC_SEQ_TO_SEQ_HPP
14#
15# include <boost/preprocessor/cat.hpp>
16# include <boost/preprocessor/config/config.hpp>
17#
18# /* BOOST_PP_VARIADIC_SEQ_TO_SEQ */
19#
20# if BOOST_PP_VARIADICS
21# define BOOST_PP_VARIADIC_SEQ_TO_SEQ(vseq) BOOST_PP_CAT(BOOST_PP_VARIADIC_SEQ_TO_SEQ_A vseq, 0)
22# define BOOST_PP_VARIADIC_SEQ_TO_SEQ_A(...) ((__VA_ARGS__)) BOOST_PP_VARIADIC_SEQ_TO_SEQ_B
23# define BOOST_PP_VARIADIC_SEQ_TO_SEQ_B(...) ((__VA_ARGS__)) BOOST_PP_VARIADIC_SEQ_TO_SEQ_A
24# define BOOST_PP_VARIADIC_SEQ_TO_SEQ_A0
25# define BOOST_PP_VARIADIC_SEQ_TO_SEQ_B0
26# endif
27#
28# endif
29

source code of boost/boost/preprocessor/seq/variadic_seq_to_seq.hpp