MessagePack for C++
Loading...
Searching...
No Matches
first_n.hpp File Reference
Include dependency graph for first_n.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_FIRST_N(count, list)
#define MSGPACK_PP_LIST_FIRST_N_I(count, list)
#define MSGPACK_PP_LIST_FIRST_N_P(d, data)
#define MSGPACK_PP_LIST_FIRST_N_P_I(c, l, nl)
#define MSGPACK_PP_LIST_FIRST_N_O(d, data)
#define MSGPACK_PP_LIST_FIRST_N_O_D(c, l, nl)
#define MSGPACK_PP_LIST_FIRST_N_D(d, count, list)
#define MSGPACK_PP_LIST_FIRST_N_D_I(d, count, list)

Macro Definition Documentation

◆ MSGPACK_PP_LIST_FIRST_N

#define MSGPACK_PP_LIST_FIRST_N ( count,
list )
Value:
#define MSGPACK_PP_LIST_FIRST_N_I(count, list)
Definition first_n.hpp:31

◆ MSGPACK_PP_LIST_FIRST_N_D

#define MSGPACK_PP_LIST_FIRST_N_D ( d,
count,
list )
Value:
#define MSGPACK_PP_LIST_FIRST_N_D_I(d, count, list)
Definition first_n.hpp:55

◆ MSGPACK_PP_LIST_FIRST_N_D_I

#define MSGPACK_PP_LIST_FIRST_N_D_I ( d,
count,
list )
Value:
MSGPACK_PP_LIST_REVERSE_D(d, MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_WHILE_ ## d(MSGPACK_PP_LIST_FIRST_N_P, MSGPACK_PP_LIST_FIRST_N_O, (count, list, MSGPACK_PP_NIL))))
#define MSGPACK_PP_LIST_FIRST_N_P(d, data)
Definition first_n.hpp:37
#define MSGPACK_PP_LIST_FIRST_N_O(d, data)
Definition first_n.hpp:44
#define MSGPACK_PP_LIST_REVERSE_D(d, list)
Definition reverse.hpp:36
#define MSGPACK_PP_TUPLE_ELEM(size, n, tuple)
Definition elem.hpp:57

◆ MSGPACK_PP_LIST_FIRST_N_I

#define MSGPACK_PP_LIST_FIRST_N_I ( count,
list )
Value:
#define MSGPACK_PP_WHILE
Definition while.hpp:31
#define MSGPACK_PP_LIST_REVERSE(list)
Definition reverse.hpp:25

◆ MSGPACK_PP_LIST_FIRST_N_O

#define MSGPACK_PP_LIST_FIRST_N_O ( d,
data )
Value:
#define MSGPACK_PP_LIST_FIRST_N_O_D(c, l, nl)
Definition first_n.hpp:47

◆ MSGPACK_PP_LIST_FIRST_N_O_D

#define MSGPACK_PP_LIST_FIRST_N_O_D ( c,
l,
nl )
Value:
#define MSGPACK_PP_LIST_FIRST(list)
Definition adt.hpp:32
#define MSGPACK_PP_LIST_REST(list)
Definition adt.hpp:44
#define MSGPACK_PP_DEC(x)
Definition dec.hpp:24

◆ MSGPACK_PP_LIST_FIRST_N_P

#define MSGPACK_PP_LIST_FIRST_N_P ( d,
data )
Value:
#define MSGPACK_PP_LIST_FIRST_N_P_I(c, l, nl)
Definition first_n.hpp:38

◆ MSGPACK_PP_LIST_FIRST_N_P_I

#define MSGPACK_PP_LIST_FIRST_N_P_I ( c,
l,
nl )
Value:
c