MessagePack for C++
Loading...
Searching...
No Matches
filter.hpp File Reference
Include dependency graph for filter.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_FILTER(pred, data, seq)
#define MSGPACK_PP_SEQ_FILTER_I(pred, data, seq)
#define MSGPACK_PP_SEQ_FILTER_O(s, st, elem)
#define MSGPACK_PP_SEQ_FILTER_O_I(s, pred, data, res, elem)
#define MSGPACK_PP_SEQ_FILTER_S(s, pred, data, seq)
#define MSGPACK_PP_SEQ_FILTER_S_I(s, pred, data, seq)

Macro Definition Documentation

◆ MSGPACK_PP_SEQ_FILTER

#define MSGPACK_PP_SEQ_FILTER ( pred,
data,
seq )
Value:
MSGPACK_PP_SEQ_FILTER_I(pred, data, seq)
#define MSGPACK_PP_SEQ_FILTER_I(pred, data, seq)
Definition filter.hpp:29

◆ MSGPACK_PP_SEQ_FILTER_I

#define MSGPACK_PP_SEQ_FILTER_I ( pred,
data,
seq )
Value:
#define MSGPACK_PP_SEQ_FILTER_O(s, st, elem)
Definition filter.hpp:36
#define MSGPACK_PP_SEQ_FOLD_LEFT
Definition fold_left.hpp:29
#define MSGPACK_PP_SEQ_TAIL(seq)
Definition seq.hpp:35
#define MSGPACK_PP_TUPLE_ELEM(size, n, tuple)
Definition elem.hpp:57

◆ MSGPACK_PP_SEQ_FILTER_O

#define MSGPACK_PP_SEQ_FILTER_O ( s,
st,
elem )
Value:
#define MSGPACK_PP_SEQ_FILTER_O_I(s, pred, data, res, elem)
Definition filter.hpp:42

◆ MSGPACK_PP_SEQ_FILTER_O_I

#define MSGPACK_PP_SEQ_FILTER_O_I ( s,
pred,
data,
res,
elem )
Value:
(pred, data, res MSGPACK_PP_EXPR_IF(pred##(s, data, elem), (elem)))
#define MSGPACK_PP_EXPR_IF(cond, expr)
Definition expr_if.hpp:26

◆ MSGPACK_PP_SEQ_FILTER_S

#define MSGPACK_PP_SEQ_FILTER_S ( s,
pred,
data,
seq )
Value:
MSGPACK_PP_SEQ_FILTER_S_I(s, pred, data, seq)
#define MSGPACK_PP_SEQ_FILTER_S_I(s, pred, data, seq)
Definition filter.hpp:51

◆ MSGPACK_PP_SEQ_FILTER_S_I

#define MSGPACK_PP_SEQ_FILTER_S_I ( s,
pred,
data,
seq )
Value:
MSGPACK_PP_SEQ_TAIL(MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_SEQ_FOLD_LEFT_ ## s(MSGPACK_PP_SEQ_FILTER_O, (pred, data, (nil)), seq)))