MessagePack for C++
Toggle main menu visibility
Loading...
Searching...
No Matches
msgpack
preprocessor
seq
detail
to_list_msvc.hpp
Go to the documentation of this file.
1
#
/* **************************************************************************
2
# * *
3
# * (C) Copyright Edward Diener 2016. *
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_DETAIL_TO_LIST_MSVC_HPP
13
# define MSGPACK_PREPROCESSOR_SEQ_DETAIL_TO_LIST_MSVC_HPP
14
#
15
# include <
msgpack/preprocessor/config/config.hpp
>
16
#
17
# if MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MSVC()
18
#
19
# include <
msgpack/preprocessor/cat.hpp
>
20
# include <
msgpack/preprocessor/arithmetic/dec.hpp
>
21
# include <
msgpack/preprocessor/control/while.hpp
>
22
# include <
msgpack/preprocessor/tuple/elem.hpp
>
23
#
24
# define MSGPACK_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_RESULT(state) \
25
MSGPACK_PP_TUPLE_ELEM(2, 0, state) \
26
/**/
27
# define MSGPACK_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_SIZE(state) \
28
MSGPACK_PP_TUPLE_ELEM(2, 1, state) \
29
/**/
30
# define MSGPACK_PP_SEQ_DETAIL_TO_LIST_MSVC_PRED(d,state) \
31
MSGPACK_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_SIZE(state) \
32
/**/
33
# define MSGPACK_PP_SEQ_DETAIL_TO_LIST_MSVC_OP(d,state) \
34
( \
35
MSGPACK_PP_CAT(MSGPACK_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_RESULT(state),), \
36
MSGPACK_PP_DEC(MSGPACK_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_SIZE(state)) \
37
) \
38
/**/
39
#
40
#
/* MSGPACK_PP_SEQ_DETAIL_TO_LIST_MSVC */
41
#
42
# define MSGPACK_PP_SEQ_DETAIL_TO_LIST_MSVC(result,seqsize) \
43
MSGPACK_PP_SEQ_DETAIL_TO_LIST_MSVC_STATE_RESULT \
44
( \
45
MSGPACK_PP_WHILE \
46
( \
47
MSGPACK_PP_SEQ_DETAIL_TO_LIST_MSVC_PRED, \
48
MSGPACK_PP_SEQ_DETAIL_TO_LIST_MSVC_OP, \
49
(result,seqsize) \
50
) \
51
) \
52
/**/
53
# endif
// MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MSVC()
54
#
55
# endif
// MSGPACK_PREPROCESSOR_SEQ_DETAIL_TO_LIST_MSVC_HPP
dec.hpp
cat.hpp
config.hpp
while.hpp
elem.hpp
Generated by
1.17.0