#include <boost/preprocessor/config/config.hpp>
#include <boost/preprocessor/list/fold_right.hpp>
#include <boost/preprocessor/tuple/elem.hpp>
#include <boost/preprocessor/tuple/rem.hpp>
Macros | |
#define | BOOST_PP_LIST_TRANSFORM(op, data, list) BOOST_PP_LIST_TRANSFORM_I(op, data, list) |
#define | BOOST_PP_LIST_TRANSFORM_I(op, data, list) BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_LIST_FOLD_RIGHT(BOOST_PP_LIST_TRANSFORM_O, (op, data, BOOST_PP_NIL), list)) |
#define | BOOST_PP_LIST_TRANSFORM_O(d, odr, elem) BOOST_PP_LIST_TRANSFORM_O_I(d, BOOST_PP_TUPLE_REM_3 odr, elem) |
#define | BOOST_PP_LIST_TRANSFORM_O_I(d, im, elem) BOOST_PP_LIST_TRANSFORM_O_D(d, im, elem) |
#define | BOOST_PP_LIST_TRANSFORM_O_D(d, op, data, res, elem) (op, data, (op(d, data, elem), res)) |
#define | BOOST_PP_LIST_TRANSFORM_D(d, op, data, list) BOOST_PP_LIST_TRANSFORM_D_I(d, op, data, list) |
#define | BOOST_PP_LIST_TRANSFORM_D_I(d, op, data, list) BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_LIST_FOLD_RIGHT_ ## d(BOOST_PP_LIST_TRANSFORM_O, (op, data, BOOST_PP_NIL), list)) |
#define BOOST_PP_LIST_TRANSFORM | ( | op, | |
data, | |||
list | |||
) | BOOST_PP_LIST_TRANSFORM_I(op, data, list) |
#define BOOST_PP_LIST_TRANSFORM_D | ( | d, | |
op, | |||
data, | |||
list | |||
) | BOOST_PP_LIST_TRANSFORM_D_I(d, op, data, list) |
#define BOOST_PP_LIST_TRANSFORM_D_I | ( | d, | |
op, | |||
data, | |||
list | |||
) | BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_LIST_FOLD_RIGHT_ ## d(BOOST_PP_LIST_TRANSFORM_O, (op, data, BOOST_PP_NIL), list)) |
#define BOOST_PP_LIST_TRANSFORM_I | ( | op, | |
data, | |||
list | |||
) | BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_LIST_FOLD_RIGHT(BOOST_PP_LIST_TRANSFORM_O, (op, data, BOOST_PP_NIL), list)) |
#define BOOST_PP_LIST_TRANSFORM_O | ( | d, | |
odr, | |||
elem | |||
) | BOOST_PP_LIST_TRANSFORM_O_I(d, BOOST_PP_TUPLE_REM_3 odr, elem) |
#define BOOST_PP_LIST_TRANSFORM_O_D | ( | d, | |
op, | |||
data, | |||
res, | |||
elem | |||
) | (op, data, (op(d, data, elem), res)) |
#define BOOST_PP_LIST_TRANSFORM_O_I | ( | d, | |
im, | |||
elem | |||
) | BOOST_PP_LIST_TRANSFORM_O_D(d, im, elem) |