MessagePack for C++
variadic_seq_to_seq.hpp
Go to the documentation of this file.
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 MSGPACK_PREPROCESSOR_SEQ_VARIADIC_SEQ_TO_SEQ_HPP
13 # define MSGPACK_PREPROCESSOR_SEQ_VARIADIC_SEQ_TO_SEQ_HPP
14 #
17 #
18 # /* MSGPACK_PP_VARIADIC_SEQ_TO_SEQ */
19 #
20 # if MSGPACK_PP_VARIADICS
21 # define MSGPACK_PP_VARIADIC_SEQ_TO_SEQ(vseq) MSGPACK_PP_CAT(MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_A vseq, 0)
22 # define MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_A(...) ((__VA_ARGS__)) MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_B
23 # define MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_B(...) ((__VA_ARGS__)) MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_A
24 # define MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_A0
25 # define MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_B0
26 # endif
27 #
28 # endif