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_LIST_FILTER(pred, data, list)
#define MSGPACK_PP_LIST_FILTER_I(pred, data, list)
#define MSGPACK_PP_LIST_FILTER_O(d, pdr, elem)
#define MSGPACK_PP_LIST_FILTER_O_I(d, im, elem)
#define MSGPACK_PP_LIST_FILTER_O_D(d, pred, data, res, elem)
#define MSGPACK_PP_LIST_FILTER_D(d, pred, data, list)
#define MSGPACK_PP_LIST_FILTER_D_I(d, pred, data, list)

Macro Definition Documentation

◆ MSGPACK_PP_LIST_FILTER

#define MSGPACK_PP_LIST_FILTER ( pred,
data,
list )
Value:
MSGPACK_PP_LIST_FILTER_I(pred, data, list)
#define MSGPACK_PP_LIST_FILTER_I(pred, data, list)
Definition filter.hpp:29

◆ MSGPACK_PP_LIST_FILTER_D

#define MSGPACK_PP_LIST_FILTER_D ( d,
pred,
data,
list )
Value:
MSGPACK_PP_LIST_FILTER_D_I(d, pred, data, list)
#define MSGPACK_PP_LIST_FILTER_D_I(d, pred, data, list)
Definition filter.hpp:51

◆ MSGPACK_PP_LIST_FILTER_D_I

#define MSGPACK_PP_LIST_FILTER_D_I ( d,
pred,
data,
list )
Value:
MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_LIST_FOLD_RIGHT_ ## d(MSGPACK_PP_LIST_FILTER_O, (pred, data, MSGPACK_PP_NIL), list))
#define MSGPACK_PP_LIST_FILTER_O(d, pdr, elem)
Definition filter.hpp:35
#define MSGPACK_PP_TUPLE_ELEM(size, n, tuple)
Definition elem.hpp:57

◆ MSGPACK_PP_LIST_FILTER_I

#define MSGPACK_PP_LIST_FILTER_I ( pred,
data,
list )
Value:
#define MSGPACK_PP_LIST_FOLD_RIGHT
Definition fold_right.hpp:26

◆ MSGPACK_PP_LIST_FILTER_O

#define MSGPACK_PP_LIST_FILTER_O ( d,
pdr,
elem )
Value:
#define MSGPACK_PP_LIST_FILTER_O_I(d, im, elem)
Definition filter.hpp:36
#define MSGPACK_PP_TUPLE_REM_3(e0, e1, e2)
Definition rem.hpp:57

◆ MSGPACK_PP_LIST_FILTER_O_D

#define MSGPACK_PP_LIST_FILTER_O_D ( d,
pred,
data,
res,
elem )
Value:
(pred, data, MSGPACK_PP_IF(pred##(d, data, elem), (elem, res), res))
#define MSGPACK_PP_IF(cond, t, f)
Definition if.hpp:26

◆ MSGPACK_PP_LIST_FILTER_O_I

#define MSGPACK_PP_LIST_FILTER_O_I ( d,
im,
elem )
Value:
#define MSGPACK_PP_LIST_FILTER_O_D(d, pred, data, res, elem)
Definition filter.hpp:42