|
MessagePack for C++
|
Go to the source code of this file.
Macros | |
| #define | MSGPACK_PP_CHECK(x, type) MSGPACK_PP_CHECK_OO((x, type)) |
| #define | MSGPACK_PP_CHECK_OO(par) MSGPACK_PP_CHECK_D ## par |
| #define | MSGPACK_PP_CHECK_D(x, type) MSGPACK_PP_CHECK_OO((type x)) |
| #define | MSGPACK_PP_CHECK_OO(par) MSGPACK_PP_CHECK_0 ## par |
| #define | MSGPACK_PP_CHECK_0(chk) MSGPACK_PP_CHECK_1(MSGPACK_PP_CAT(MSGPACK_PP_CHECK_RESULT_, chk)) |
| #define | MSGPACK_PP_CHECK_1(chk) MSGPACK_PP_CHECK_2(chk) |
| #define | MSGPACK_PP_CHECK_2(res, _) res |
| #define | MSGPACK_PP_CHECK_RESULT_1 1, MSGPACK_PP_NIL |
| #define MSGPACK_PP_CHECK | ( | x, | |
| type | |||
| ) | MSGPACK_PP_CHECK_OO((x, type)) |
| #define MSGPACK_PP_CHECK_0 | ( | chk | ) | MSGPACK_PP_CHECK_1(MSGPACK_PP_CAT(MSGPACK_PP_CHECK_RESULT_, chk)) |
| #define MSGPACK_PP_CHECK_1 | ( | chk | ) | MSGPACK_PP_CHECK_2(chk) |
| #define MSGPACK_PP_CHECK_2 | ( | res, | |
| _ | |||
| ) | res |
| #define MSGPACK_PP_CHECK_D | ( | x, | |
| type | |||
| ) | MSGPACK_PP_CHECK_OO((type x)) |
| #define MSGPACK_PP_CHECK_OO | ( | par | ) | MSGPACK_PP_CHECK_D ## par |
| #define MSGPACK_PP_CHECK_OO | ( | par | ) | MSGPACK_PP_CHECK_0 ## par |
| #define MSGPACK_PP_CHECK_RESULT_1 1, MSGPACK_PP_NIL |
1.8.13