messagepack implementation for embedded systems (mbed / arduino)
Dependents: hello_message_pack
fold_right.hpp
00001 # /* Copyright (C) 2001 00002 # * Housemarque Oy 00003 # * http://www.housemarque.com 00004 # * 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 # /* Revised by Paul Mensonides (2002) */ 00011 # 00012 # /* See http://www.boost.org for most recent version. */ 00013 # 00014 # ifndef MSGPACK_PREPROCESSOR_LIST_FOLD_RIGHT_HPP 00015 # define MSGPACK_PREPROCESSOR_LIST_FOLD_RIGHT_HPP 00016 # 00017 # include <msgpack/preprocessor/cat.hpp> 00018 # include <msgpack/preprocessor/control/while.hpp> 00019 # include <msgpack/preprocessor/debug/error.hpp> 00020 # include <msgpack/preprocessor/detail/auto_rec.hpp> 00021 # 00022 # if 0 00023 # define MSGPACK_PP_LIST_FOLD_RIGHT(op, state, list) 00024 # endif 00025 # 00026 # define MSGPACK_PP_LIST_FOLD_RIGHT MSGPACK_PP_CAT(MSGPACK_PP_LIST_FOLD_RIGHT_, MSGPACK_PP_AUTO_REC(MSGPACK_PP_WHILE_P, 256)) 00027 # 00028 # define MSGPACK_PP_LIST_FOLD_RIGHT_257(o, s, l) MSGPACK_PP_ERROR(0x0004) 00029 # 00030 # define MSGPACK_PP_LIST_FOLD_RIGHT_D(d, o, s, l) MSGPACK_PP_LIST_FOLD_RIGHT_ ## d(o, s, l) 00031 # define MSGPACK_PP_LIST_FOLD_RIGHT_2ND MSGPACK_PP_LIST_FOLD_RIGHT 00032 # define MSGPACK_PP_LIST_FOLD_RIGHT_2ND_D MSGPACK_PP_LIST_FOLD_RIGHT_D 00033 # 00034 # if MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 00035 # include <msgpack/preprocessor/list/detail/edg/fold_right.hpp> 00036 # else 00037 # include <msgpack/preprocessor/list/detail/fold_right.hpp> 00038 # endif 00039 # 00040 # endif
Generated on Tue Jul 12 2022 22:51:45 by 1.7.2