Loading...
Searching...
No Matches
Go to the documentation of this file.
13# ifndef MSGPACK_PREPROCESSOR_TUPLE_TO_ARRAY_HPP
14# define MSGPACK_PREPROCESSOR_TUPLE_TO_ARRAY_HPP
24# if MSGPACK_PP_VARIADICS
25# if MSGPACK_PP_VARIADICS_MSVC
26# define MSGPACK_PP_TUPLE_TO_ARRAY(...) MSGPACK_PP_TUPLE_TO_ARRAY_I(MSGPACK_PP_OVERLOAD(MSGPACK_PP_TUPLE_TO_ARRAY_, __VA_ARGS__), (__VA_ARGS__))
27# define MSGPACK_PP_TUPLE_TO_ARRAY_I(m, args) MSGPACK_PP_TUPLE_TO_ARRAY_II(m, args)
28# define MSGPACK_PP_TUPLE_TO_ARRAY_II(m, args) MSGPACK_PP_CAT(m ## args,)
29# define MSGPACK_PP_TUPLE_TO_ARRAY_1(tuple) (MSGPACK_PP_TUPLE_SIZE(tuple), tuple)
31# define MSGPACK_PP_TUPLE_TO_ARRAY(...) MSGPACK_PP_OVERLOAD(MSGPACK_PP_TUPLE_TO_ARRAY_, __VA_ARGS__)(__VA_ARGS__)
32# define MSGPACK_PP_TUPLE_TO_ARRAY_1(tuple) (MSGPACK_PP_VARIADIC_SIZE tuple, tuple)
34# define MSGPACK_PP_TUPLE_TO_ARRAY_2(size, tuple) (size, tuple)
36# define MSGPACK_PP_TUPLE_TO_ARRAY(size, tuple) (size, tuple)