#include <boost/preprocessor/arithmetic/dec.hpp>
#include <boost/preprocessor/config/config.hpp>
#include <boost/preprocessor/control/while.hpp>
#include <boost/preprocessor/tuple/elem.hpp>
Macros | |
#define | BOOST_PP_SUB(x, y) BOOST_PP_SUB_I(x, y) |
#define | BOOST_PP_SUB_I(x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_SUB_P, BOOST_PP_SUB_O, (x, y))) |
#define | BOOST_PP_SUB_P(d, xy) BOOST_PP_TUPLE_ELEM(2, 1, xy) |
#define | BOOST_PP_SUB_O(d, xy) BOOST_PP_SUB_O_I(BOOST_PP_TUPLE_ELEM(2, 0, xy), BOOST_PP_TUPLE_ELEM(2, 1, xy)) |
#define | BOOST_PP_SUB_O_I(x, y) (BOOST_PP_DEC(x), BOOST_PP_DEC(y)) |
#define | BOOST_PP_SUB_D(d, x, y) BOOST_PP_SUB_D_I(d, x, y) |
#define | BOOST_PP_SUB_D_I(d, x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_SUB_P, BOOST_PP_SUB_O, (x, y))) |
#define BOOST_PP_SUB | ( | x, | |
y | |||
) | BOOST_PP_SUB_I(x, y) |
#define BOOST_PP_SUB_D | ( | d, | |
x, | |||
y | |||
) | BOOST_PP_SUB_D_I(d, x, y) |
#define BOOST_PP_SUB_D_I | ( | d, | |
x, | |||
y | |||
) | BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_SUB_P, BOOST_PP_SUB_O, (x, y))) |
#define BOOST_PP_SUB_I | ( | x, | |
y | |||
) | BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_SUB_P, BOOST_PP_SUB_O, (x, y))) |
#define BOOST_PP_SUB_O | ( | d, | |
xy | |||
) | BOOST_PP_SUB_O_I(BOOST_PP_TUPLE_ELEM(2, 0, xy), BOOST_PP_TUPLE_ELEM(2, 1, xy)) |
#define BOOST_PP_SUB_O_I | ( | x, | |
y | |||
) | (BOOST_PP_DEC(x), BOOST_PP_DEC(y)) |
#define BOOST_PP_SUB_P | ( | d, | |
xy | |||
) | BOOST_PP_TUPLE_ELEM(2, 1, xy) |