#include <boost/preprocessor/arithmetic/dec.hpp>
#include <boost/preprocessor/config/config.hpp>
#include <boost/preprocessor/control/while.hpp>
#include <boost/preprocessor/list/adt.hpp>
#include <boost/preprocessor/tuple/elem.hpp>
Macros | |
#define | BOOST_PP_LIST_REST_N(count, list) BOOST_PP_LIST_REST_N_I(count, list) |
#define | BOOST_PP_LIST_REST_N_I(count, list) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_LIST_REST_N_P, BOOST_PP_LIST_REST_N_O, (list, count))) |
#define | BOOST_PP_LIST_REST_N_P(d, lc) BOOST_PP_LIST_REST_N_P_I lc |
#define | BOOST_PP_LIST_REST_N_P_I(list, count) count |
#define | BOOST_PP_LIST_REST_N_O(d, lc) BOOST_PP_LIST_REST_N_O_I lc |
#define | BOOST_PP_LIST_REST_N_O_I(list, count) (BOOST_PP_LIST_REST(list), BOOST_PP_DEC(count)) |
#define | BOOST_PP_LIST_REST_N_D(d, count, list) BOOST_PP_LIST_REST_N_D_I(d, count, list) |
#define | BOOST_PP_LIST_REST_N_D_I(d, count, list) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_LIST_REST_N_P, BOOST_PP_LIST_REST_N_O, (list, count))) |
#define BOOST_PP_LIST_REST_N | ( | count, | |
list | |||
) | BOOST_PP_LIST_REST_N_I(count, list) |
#define BOOST_PP_LIST_REST_N_D | ( | d, | |
count, | |||
list | |||
) | BOOST_PP_LIST_REST_N_D_I(d, count, list) |
#define BOOST_PP_LIST_REST_N_D_I | ( | d, | |
count, | |||
list | |||
) | BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_LIST_REST_N_P, BOOST_PP_LIST_REST_N_O, (list, count))) |
#define BOOST_PP_LIST_REST_N_I | ( | count, | |
list | |||
) | BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_LIST_REST_N_P, BOOST_PP_LIST_REST_N_O, (list, count))) |
#define BOOST_PP_LIST_REST_N_O | ( | d, | |
lc | |||
) | BOOST_PP_LIST_REST_N_O_I lc |
#define BOOST_PP_LIST_REST_N_O_I | ( | list, | |
count | |||
) | (BOOST_PP_LIST_REST(list), BOOST_PP_DEC(count)) |
#define BOOST_PP_LIST_REST_N_P | ( | d, | |
lc | |||
) | BOOST_PP_LIST_REST_N_P_I lc |