MessagePack for C++
Loading...
Searching...
No Matches
to_tuple.hpp
Go to the documentation of this file.
1# /* **************************************************************************
2# * *
3# * (C) Copyright Edward Diener 2011. *
4# * (C) Copyright Paul Mensonides 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_ARRAY_TO_TUPLE_HPP
14# define MSGPACK_PREPROCESSOR_ARRAY_TO_TUPLE_HPP
15#
19#
20# /* MSGPACK_PP_ARRAY_TO_TUPLE */
21#
22# define MSGPACK_PP_ARRAY_TO_TUPLE(array) \
23 MSGPACK_PP_IF \
24 ( \
25 MSGPACK_PP_ARRAY_SIZE(array), \
26 MSGPACK_PP_ARRAY_DATA, \
27 MSGPACK_PP_ARRAY_TO_TUPLE_EMPTY \
28 ) \
29 (array) \
30
31# define MSGPACK_PP_ARRAY_TO_TUPLE_EMPTY(array)
32#
33# endif