messagepack implementation for embedded systems (mbed / arduino)
Dependents: hello_message_pack
to_tuple.hpp
00001 # /* ************************************************************************** 00002 # * * 00003 # * (C) Copyright Edward Diener 2011. * 00004 # * (C) Copyright Paul Mensonides 2011. * 00005 # * Distributed under the Boost Software License, Version 1.0. (See * 00006 # * accompanying file LICENSE_1_0.txt or copy at * 00007 # * http://www.boost.org/LICENSE_1_0.txt) * 00008 # * * 00009 # ************************************************************************** */ 00010 # 00011 # /* See http://www.boost.org for most recent version. */ 00012 # 00013 # ifndef MSGPACK_PREPROCESSOR_ARRAY_TO_TUPLE_HPP 00014 # define MSGPACK_PREPROCESSOR_ARRAY_TO_TUPLE_HPP 00015 # 00016 # include <msgpack/preprocessor/array/data.hpp> 00017 # include <msgpack/preprocessor/array/size.hpp> 00018 # include <msgpack/preprocessor/control/if.hpp> 00019 # 00020 # /* MSGPACK_PP_ARRAY_TO_TUPLE */ 00021 # 00022 # define MSGPACK_PP_ARRAY_TO_TUPLE(array) \ 00023 MSGPACK_PP_IF \ 00024 ( \ 00025 MSGPACK_PP_ARRAY_SIZE(array), \ 00026 MSGPACK_PP_ARRAY_DATA, \ 00027 MSGPACK_PP_ARRAY_TO_TUPLE_EMPTY \ 00028 ) \ 00029 (array) \ 00030 /**/ 00031 # define MSGPACK_PP_ARRAY_TO_TUPLE_EMPTY(array) 00032 # 00033 # endif
Generated on Tue Jul 12 2022 22:51:46 by
![doxygen](doxygen.png)