messagepack implementation for embedded systems (mbed / arduino)
Dependents: hello_message_pack
is_single_return.hpp
00001 # /* ************************************************************************** 00002 # * * 00003 # * (C) Copyright Edward Diener 2014. * 00004 # * Distributed under the Boost Software License, Version 1.0. (See * 00005 # * accompanying file LICENSE_1_0.txt or copy at * 00006 # * http://www.boost.org/LICENSE_1_0.txt) * 00007 # * * 00008 # ************************************************************************** */ 00009 # 00010 # /* See http://www.boost.org for most recent version. */ 00011 # 00012 # ifndef MSGPACK_PREPROCESSOR_VARIADIC_DETAIL_IS_SINGLE_RETURN_HPP 00013 # define MSGPACK_PREPROCESSOR_VARIADIC_DETAIL_IS_SINGLE_RETURN_HPP 00014 # 00015 # include <msgpack/preprocessor/config/config.hpp> 00016 # 00017 # /* MSGPACK_PP_VARIADIC_IS_SINGLE_RETURN */ 00018 # 00019 # if MSGPACK_PP_VARIADICS && MSGPACK_PP_VARIADICS_MSVC 00020 # include <msgpack/preprocessor/control/iif.hpp> 00021 # include <msgpack/preprocessor/facilities/is_1.hpp> 00022 # include <msgpack/preprocessor/variadic/size.hpp> 00023 # define MSGPACK_PP_VARIADIC_IS_SINGLE_RETURN(sr,nsr,...) \ 00024 MSGPACK_PP_IIF(MSGPACK_PP_IS_1(MSGPACK_PP_VARIADIC_SIZE(__VA_ARGS__)),sr,nsr) \ 00025 /**/ 00026 # endif /* MSGPACK_PP_VARIADICS && MSGPACK_PP_VARIADICS_MSVC */ 00027 # 00028 # endif /* MSGPACK_PREPROCESSOR_VARIADIC_DETAIL_IS_SINGLE_RETURN_HPP */
Generated on Tue Jul 12 2022 22:51:45 by 1.7.2