Go to the documentation of this file.
13 # ifndef MSGPACK_PREPROCESSOR_ARRAY_TO_LIST_HPP
14 # define MSGPACK_PREPROCESSOR_ARRAY_TO_LIST_HPP
24 # define MSGPACK_PP_ARRAY_TO_LIST(array) \
27 MSGPACK_PP_ARRAY_SIZE(array), \
28 MSGPACK_PP_ARRAY_TO_LIST_DO, \
29 MSGPACK_PP_ARRAY_TO_LIST_EMPTY \
34 # define MSGPACK_PP_ARRAY_TO_LIST_EMPTY(array) MSGPACK_PP_NIL
36 # if MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MSVC()
37 # define MSGPACK_PP_ARRAY_TO_LIST_DO(array) MSGPACK_PP_ARRAY_TO_LIST_I(MSGPACK_PP_TUPLE_TO_LIST, array)
38 # define MSGPACK_PP_ARRAY_TO_LIST_I(m, args) MSGPACK_PP_ARRAY_TO_LIST_II(m, args)
39 # define MSGPACK_PP_ARRAY_TO_LIST_II(m, args) MSGPACK_PP_CAT(m ## args,)
40 # elif MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MWCC()
41 # define MSGPACK_PP_ARRAY_TO_LIST_DO(array) MSGPACK_PP_ARRAY_TO_LIST_I(array)
42 # define MSGPACK_PP_ARRAY_TO_LIST_I(array) MSGPACK_PP_TUPLE_TO_LIST ## array
44 # define MSGPACK_PP_ARRAY_TO_LIST_DO(array) MSGPACK_PP_TUPLE_TO_LIST array