Hideaki Tai / msgpack-embedded

Dependents:   hello_message_pack

Committer:
hideakitai
Date:
Mon Feb 22 01:43:48 2016 +0000
Revision:
4:bd0c06dd6e92
Parent:
0:3f9dbf1e2cb0
fix throw error

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hideakitai 0:3f9dbf1e2cb0 1 # /* Copyright (C) 2001
hideakitai 0:3f9dbf1e2cb0 2 # * Housemarque Oy
hideakitai 0:3f9dbf1e2cb0 3 # * http://www.housemarque.com
hideakitai 0:3f9dbf1e2cb0 4 # *
hideakitai 0:3f9dbf1e2cb0 5 # * Distributed under the Boost Software License, Version 1.0. (See
hideakitai 0:3f9dbf1e2cb0 6 # * accompanying file LICENSE_1_0.txt or copy at
hideakitai 0:3f9dbf1e2cb0 7 # * http://www.boost.org/LICENSE_1_0.txt)
hideakitai 0:3f9dbf1e2cb0 8 # */
hideakitai 0:3f9dbf1e2cb0 9 #
hideakitai 0:3f9dbf1e2cb0 10 # /* Revised by Paul Mensonides (2002) */
hideakitai 0:3f9dbf1e2cb0 11 #
hideakitai 0:3f9dbf1e2cb0 12 # /* See http://www.boost.org for most recent version. */
hideakitai 0:3f9dbf1e2cb0 13 #
hideakitai 0:3f9dbf1e2cb0 14 # ifndef MSGPACK_PREPROCESSOR_ARITHMETIC_SUB_HPP
hideakitai 0:3f9dbf1e2cb0 15 # define MSGPACK_PREPROCESSOR_ARITHMETIC_SUB_HPP
hideakitai 0:3f9dbf1e2cb0 16 #
hideakitai 0:3f9dbf1e2cb0 17 # include <msgpack/preprocessor/arithmetic/dec.hpp>
hideakitai 0:3f9dbf1e2cb0 18 # include <msgpack/preprocessor/config/config.hpp>
hideakitai 0:3f9dbf1e2cb0 19 # include <msgpack/preprocessor/control/while.hpp>
hideakitai 0:3f9dbf1e2cb0 20 # include <msgpack/preprocessor/tuple/elem.hpp>
hideakitai 0:3f9dbf1e2cb0 21 #
hideakitai 0:3f9dbf1e2cb0 22 # /* MSGPACK_PP_SUB */
hideakitai 0:3f9dbf1e2cb0 23 #
hideakitai 0:3f9dbf1e2cb0 24 # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG()
hideakitai 0:3f9dbf1e2cb0 25 # define MSGPACK_PP_SUB(x, y) MSGPACK_PP_TUPLE_ELEM(2, 0, MSGPACK_PP_WHILE(MSGPACK_PP_SUB_P, MSGPACK_PP_SUB_O, (x, y)))
hideakitai 0:3f9dbf1e2cb0 26 # else
hideakitai 0:3f9dbf1e2cb0 27 # define MSGPACK_PP_SUB(x, y) MSGPACK_PP_SUB_I(x, y)
hideakitai 0:3f9dbf1e2cb0 28 # define MSGPACK_PP_SUB_I(x, y) MSGPACK_PP_TUPLE_ELEM(2, 0, MSGPACK_PP_WHILE(MSGPACK_PP_SUB_P, MSGPACK_PP_SUB_O, (x, y)))
hideakitai 0:3f9dbf1e2cb0 29 # endif
hideakitai 0:3f9dbf1e2cb0 30 #
hideakitai 0:3f9dbf1e2cb0 31 # define MSGPACK_PP_SUB_P(d, xy) MSGPACK_PP_TUPLE_ELEM(2, 1, xy)
hideakitai 0:3f9dbf1e2cb0 32 #
hideakitai 0:3f9dbf1e2cb0 33 # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MWCC()
hideakitai 0:3f9dbf1e2cb0 34 # define MSGPACK_PP_SUB_O(d, xy) MSGPACK_PP_SUB_O_I xy
hideakitai 0:3f9dbf1e2cb0 35 # else
hideakitai 0:3f9dbf1e2cb0 36 # define MSGPACK_PP_SUB_O(d, xy) MSGPACK_PP_SUB_O_I(MSGPACK_PP_TUPLE_ELEM(2, 0, xy), MSGPACK_PP_TUPLE_ELEM(2, 1, xy))
hideakitai 0:3f9dbf1e2cb0 37 # endif
hideakitai 0:3f9dbf1e2cb0 38 #
hideakitai 0:3f9dbf1e2cb0 39 # define MSGPACK_PP_SUB_O_I(x, y) (MSGPACK_PP_DEC(x), MSGPACK_PP_DEC(y))
hideakitai 0:3f9dbf1e2cb0 40 #
hideakitai 0:3f9dbf1e2cb0 41 # /* MSGPACK_PP_SUB_D */
hideakitai 0:3f9dbf1e2cb0 42 #
hideakitai 0:3f9dbf1e2cb0 43 # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG()
hideakitai 0:3f9dbf1e2cb0 44 # define MSGPACK_PP_SUB_D(d, x, y) MSGPACK_PP_TUPLE_ELEM(2, 0, MSGPACK_PP_WHILE_ ## d(MSGPACK_PP_SUB_P, MSGPACK_PP_SUB_O, (x, y)))
hideakitai 0:3f9dbf1e2cb0 45 # else
hideakitai 0:3f9dbf1e2cb0 46 # define MSGPACK_PP_SUB_D(d, x, y) MSGPACK_PP_SUB_D_I(d, x, y)
hideakitai 0:3f9dbf1e2cb0 47 # define MSGPACK_PP_SUB_D_I(d, x, y) MSGPACK_PP_TUPLE_ELEM(2, 0, MSGPACK_PP_WHILE_ ## d(MSGPACK_PP_SUB_P, MSGPACK_PP_SUB_O, (x, y)))
hideakitai 0:3f9dbf1e2cb0 48 # endif
hideakitai 0:3f9dbf1e2cb0 49 #
hideakitai 0:3f9dbf1e2cb0 50 # endif