MessagePack for C++
|
#include <msgpack/preprocessor/arithmetic/add.hpp>
#include <msgpack/preprocessor/arithmetic/dec.hpp>
#include <msgpack/preprocessor/config/config.hpp>
#include <msgpack/preprocessor/control/while.hpp>
#include <msgpack/preprocessor/tuple/elem.hpp>
#include <msgpack/preprocessor/tuple/rem.hpp>
Go to the source code of this file.
Macros | |
#define | MSGPACK_PP_MUL(x, y) MSGPACK_PP_MUL_I(x, y) |
#define | MSGPACK_PP_MUL_I(x, y) MSGPACK_PP_TUPLE_ELEM(3, 0, MSGPACK_PP_WHILE(MSGPACK_PP_MUL_P, MSGPACK_PP_MUL_O, (0, x, y))) |
#define | MSGPACK_PP_MUL_P(d, rxy) MSGPACK_PP_TUPLE_ELEM(3, 2, rxy) |
#define | MSGPACK_PP_MUL_O(d, rxy) MSGPACK_PP_MUL_O_I(d, MSGPACK_PP_TUPLE_ELEM(3, 0, rxy), MSGPACK_PP_TUPLE_ELEM(3, 1, rxy), MSGPACK_PP_TUPLE_ELEM(3, 2, rxy)) |
#define | MSGPACK_PP_MUL_O_I(d, r, x, y) (MSGPACK_PP_ADD_D(d, r, x), x, MSGPACK_PP_DEC(y)) |
#define | MSGPACK_PP_MUL_D(d, x, y) MSGPACK_PP_MUL_D_I(d, x, y) |
#define | MSGPACK_PP_MUL_D_I(d, x, y) MSGPACK_PP_TUPLE_ELEM(3, 0, MSGPACK_PP_WHILE_ ## d(MSGPACK_PP_MUL_P, MSGPACK_PP_MUL_O, (0, x, y))) |
#define MSGPACK_PP_MUL | ( | x, | |
y | |||
) | MSGPACK_PP_MUL_I(x, y) |
#define MSGPACK_PP_MUL_D | ( | d, | |
x, | |||
y | |||
) | MSGPACK_PP_MUL_D_I(d, x, y) |
#define MSGPACK_PP_MUL_D_I | ( | d, | |
x, | |||
y | |||
) | MSGPACK_PP_TUPLE_ELEM(3, 0, MSGPACK_PP_WHILE_ ## d(MSGPACK_PP_MUL_P, MSGPACK_PP_MUL_O, (0, x, y))) |
#define MSGPACK_PP_MUL_I | ( | x, | |
y | |||
) | MSGPACK_PP_TUPLE_ELEM(3, 0, MSGPACK_PP_WHILE(MSGPACK_PP_MUL_P, MSGPACK_PP_MUL_O, (0, x, y))) |
#define MSGPACK_PP_MUL_O | ( | d, | |
rxy | |||
) | MSGPACK_PP_MUL_O_I(d, MSGPACK_PP_TUPLE_ELEM(3, 0, rxy), MSGPACK_PP_TUPLE_ELEM(3, 1, rxy), MSGPACK_PP_TUPLE_ELEM(3, 2, rxy)) |
#define MSGPACK_PP_MUL_O_I | ( | d, | |
r, | |||
x, | |||
y | |||
) | (MSGPACK_PP_ADD_D(d, r, x), x, MSGPACK_PP_DEC(y)) |
#define MSGPACK_PP_MUL_P | ( | d, | |
rxy | |||
) | MSGPACK_PP_TUPLE_ELEM(3, 2, rxy) |