MessagePack for C++
Loading...
Searching...
No Matches
transform.hpp File Reference
Include dependency graph for transform.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MSGPACK_PP_SEQ_TRANSFORM(op, data, seq)
#define MSGPACK_PP_SEQ_TRANSFORM_I(op, data, seq)
#define MSGPACK_PP_SEQ_TRANSFORM_O(s, state, elem)
#define MSGPACK_PP_SEQ_TRANSFORM_O_I(s, op, data, res, elem)
#define MSGPACK_PP_SEQ_TRANSFORM_S(s, op, data, seq)
#define MSGPACK_PP_SEQ_TRANSFORM_S_I(s, op, data, seq)

Macro Definition Documentation

◆ MSGPACK_PP_SEQ_TRANSFORM

#define MSGPACK_PP_SEQ_TRANSFORM ( op,
data,
seq )
Value:
#define MSGPACK_PP_SEQ_TRANSFORM_I(op, data, seq)
Definition transform.hpp:27

◆ MSGPACK_PP_SEQ_TRANSFORM_I

#define MSGPACK_PP_SEQ_TRANSFORM_I ( op,
data,
seq )
Value:
#define MSGPACK_PP_SEQ_FOLD_LEFT
Definition fold_left.hpp:29
#define MSGPACK_PP_SEQ_TAIL(seq)
Definition seq.hpp:35
#define MSGPACK_PP_SEQ_TRANSFORM_O(s, state, elem)
Definition transform.hpp:34
#define MSGPACK_PP_TUPLE_ELEM(size, n, tuple)
Definition elem.hpp:57

◆ MSGPACK_PP_SEQ_TRANSFORM_O

#define MSGPACK_PP_SEQ_TRANSFORM_O ( s,
state,
elem )
Value:
#define MSGPACK_PP_SEQ_TRANSFORM_O_I(s, op, data, res, elem)
Definition transform.hpp:37

◆ MSGPACK_PP_SEQ_TRANSFORM_O_I

#define MSGPACK_PP_SEQ_TRANSFORM_O_I ( s,
op,
data,
res,
elem )
Value:
(op, data, res (op(s, data, elem)))

◆ MSGPACK_PP_SEQ_TRANSFORM_S

#define MSGPACK_PP_SEQ_TRANSFORM_S ( s,
op,
data,
seq )
Value:
#define MSGPACK_PP_SEQ_TRANSFORM_S_I(s, op, data, seq)
Definition transform.hpp:45

◆ MSGPACK_PP_SEQ_TRANSFORM_S_I

#define MSGPACK_PP_SEQ_TRANSFORM_S_I ( s,
op,
data,
seq )
Value:
MSGPACK_PP_SEQ_TAIL(MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_SEQ_FOLD_LEFT_ ## s(MSGPACK_PP_SEQ_TRANSFORM_O, (op, data, (nil)), seq)))