MessagePack for C++
to_list.hpp
Go to the documentation of this file.
1 # /* **************************************************************************
2 # * *
3 # * (C) Copyright Paul Mensonides 2011. *
4 # * (C) Copyright Edward Diener 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 MSGPACK_PREPROCESSOR_SEQ_TO_LIST_HPP
14 # define MSGPACK_PREPROCESSOR_SEQ_TO_LIST_HPP
15 #
19 #
20 # /* MSGPACK_PP_SEQ_TO_LIST */
21 #
22 # define MSGPACK_PP_SEQ_TO_LIST(seq) MSGPACK_PP_SEQ_TO_LIST_I(MSGPACK_PP_SEQ_BINARY_TRANSFORM(seq))
23 # define MSGPACK_PP_SEQ_TO_LIST_I(bseq) MSGPACK_PP_SEQ_TO_LIST_A bseq MSGPACK_PP_NIL MSGPACK_PP_SEQ_TO_LIST_B bseq
24 # define MSGPACK_PP_SEQ_TO_LIST_A(m, e) m(MSGPACK_PP_LPAREN() e MSGPACK_PP_COMMA() MSGPACK_PP_SEQ_TO_LIST_A_ID)
25 # define MSGPACK_PP_SEQ_TO_LIST_A_ID() MSGPACK_PP_SEQ_TO_LIST_A
26 # define MSGPACK_PP_SEQ_TO_LIST_B(m, e) m(MSGPACK_PP_RPAREN() MSGPACK_PP_SEQ_TO_LIST_B_ID)
27 # define MSGPACK_PP_SEQ_TO_LIST_B_ID() MSGPACK_PP_SEQ_TO_LIST_B
28 #
29 # endif