Loading...
Searching...
No Matches
Go to the documentation of this file.
13# ifndef MSGPACK_PREPROCESSOR_ARRAY_TO_SEQ_HPP
14# define MSGPACK_PREPROCESSOR_ARRAY_TO_SEQ_HPP
24# define MSGPACK_PP_ARRAY_TO_SEQ(array) \
27 MSGPACK_PP_ARRAY_SIZE(array), \
28 MSGPACK_PP_ARRAY_TO_SEQ_DO, \
29 MSGPACK_PP_ARRAY_TO_SEQ_EMPTY \
33# define MSGPACK_PP_ARRAY_TO_SEQ_EMPTY(array)
35# if MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MSVC()
36# define MSGPACK_PP_ARRAY_TO_SEQ_DO(array) MSGPACK_PP_ARRAY_TO_SEQ_I(MSGPACK_PP_TUPLE_TO_SEQ, array)
37# define MSGPACK_PP_ARRAY_TO_SEQ_I(m, args) MSGPACK_PP_ARRAY_TO_SEQ_II(m, args)
38# define MSGPACK_PP_ARRAY_TO_SEQ_II(m, args) MSGPACK_PP_CAT(m ## args,)
39# elif MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MWCC()
40# define MSGPACK_PP_ARRAY_TO_SEQ_DO(array) MSGPACK_PP_ARRAY_TO_SEQ_I(array)
41# define MSGPACK_PP_ARRAY_TO_SEQ_I(array) MSGPACK_PP_TUPLE_TO_SEQ ## array
43# define MSGPACK_PP_ARRAY_TO_SEQ_DO(array) MSGPACK_PP_TUPLE_TO_SEQ array