transform.hpp File Reference
`#include <msgpack/preprocessor/config/config.hpp>`
`#include <msgpack/preprocessor/seq/fold_left.hpp>`
`#include <msgpack/preprocessor/seq/seq.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_SEQ_TRANSFORM(op, data, seq) MSGPACK_PP_SEQ_TRANSFORM_I(op, data, seq)
#define | MSGPACK_PP_SEQ_TRANSFORM_I(op, data, seq) MSGPACK_PP_SEQ_TAIL(MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_SEQ_FOLD_LEFT(MSGPACK_PP_SEQ_TRANSFORM_O, (op, data, (nil)), seq)))
#define | MSGPACK_PP_SEQ_TRANSFORM_O(s, state, elem) MSGPACK_PP_SEQ_TRANSFORM_O_I(s, MSGPACK_PP_TUPLE_ELEM(3, 0, state), MSGPACK_PP_TUPLE_ELEM(3, 1, state), MSGPACK_PP_TUPLE_ELEM(3, 2, state), elem)
#define | MSGPACK_PP_SEQ_TRANSFORM_O_I(s, op, data, res, elem) (op, data, res (op(s, data, elem)))
#define | MSGPACK_PP_SEQ_TRANSFORM_S(s, op, data, seq) MSGPACK_PP_SEQ_TRANSFORM_S_I(s, op, data, seq)
#define | MSGPACK_PP_SEQ_TRANSFORM_S_I(s, op, data, seq) 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)))

## Macro Definition Documentation

## MSGPACK_PP_SEQ_TRANSFORM

#define MSGPACK_PP_SEQ_TRANSFORM | ( |  | op,
|  |  | data,
|  |  | seq
| ) |  | MSGPACK_PP_SEQ_TRANSFORM_I(op, data, seq)

## MSGPACK_PP_SEQ_TRANSFORM_I

#define MSGPACK_PP_SEQ_TRANSFORM_I | ( |  | op,
|  |  | data,
|  |  | seq
| ) |  | MSGPACK_PP_SEQ_TAIL(MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_SEQ_FOLD_LEFT(MSGPACK_PP_SEQ_TRANSFORM_O, (op, data, (nil)), seq)))

## MSGPACK_PP_SEQ_TRANSFORM_O

#define MSGPACK_PP_SEQ_TRANSFORM_O | ( |  | s,
|  |  | state,
|  |  | elem
| ) |  | MSGPACK_PP_SEQ_TRANSFORM_O_I(s, MSGPACK_PP_TUPLE_ELEM(3, 0, state), MSGPACK_PP_TUPLE_ELEM(3, 1, state), MSGPACK_PP_TUPLE_ELEM(3, 2, state), elem)

## MSGPACK_PP_SEQ_TRANSFORM_O_I

#define MSGPACK_PP_SEQ_TRANSFORM_O_I | ( |  | s,
|  |  | op,
|  |  | data,
|  |  | res,
|  |  | elem
| ) |  | (op, data, res (op(s, data, elem)))

## MSGPACK_PP_SEQ_TRANSFORM_S

#define MSGPACK_PP_SEQ_TRANSFORM_S | ( |  | s,
|  |  | op,
|  |  | data,
|  |  | seq
| ) |  | MSGPACK_PP_SEQ_TRANSFORM_S_I(s, op, data, seq)

## MSGPACK_PP_SEQ_TRANSFORM_S_I

#define MSGPACK_PP_SEQ_TRANSFORM_S_I | ( |  | s,
|  |  | op,
|  |  | data,
|  |  | seq
| ) |  | 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)))