#include <boost/preprocessor/arithmetic/dec.hpp>
#include <boost/preprocessor/arithmetic/inc.hpp>
#include <boost/preprocessor/config/config.hpp>
#include <boost/preprocessor/control/while.hpp>
#include <boost/preprocessor/tuple/elem.hpp>
Go to the source code of this file.
Macros | |
#define | BOOST_PP_ADD(x, y) BOOST_PP_ADD_I(x, y) |
#define | BOOST_PP_ADD_D(d, x, y) BOOST_PP_ADD_D_I(d, x, y) |
#define | BOOST_PP_ADD_D_I(d, x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_ADD_P, BOOST_PP_ADD_O, (x, y))) |
#define | BOOST_PP_ADD_I(x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_ADD_P, BOOST_PP_ADD_O, (x, y))) |
#define | BOOST_PP_ADD_O(d, xy) BOOST_PP_ADD_O_I(BOOST_PP_TUPLE_ELEM(2, 0, xy), BOOST_PP_TUPLE_ELEM(2, 1, xy)) |
#define | BOOST_PP_ADD_O_I(x, y) (BOOST_PP_INC(x), BOOST_PP_DEC(y)) |
#define | BOOST_PP_ADD_P(d, xy) BOOST_PP_TUPLE_ELEM(2, 1, xy) |
#define BOOST_PP_ADD_D_I | ( | d, | |
x, | |||
y | |||
) | BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_ADD_P, BOOST_PP_ADD_O, (x, y))) |
#define BOOST_PP_ADD_I | ( | x, | |
y | |||
) | BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_ADD_P, BOOST_PP_ADD_O, (x, y))) |
#define BOOST_PP_ADD_O | ( | d, | |
xy | |||
) | BOOST_PP_ADD_O_I(BOOST_PP_TUPLE_ELEM(2, 0, xy), BOOST_PP_TUPLE_ELEM(2, 1, xy)) |
#define BOOST_PP_ADD_O_I | ( | x, | |
y | |||
) | (BOOST_PP_INC(x), BOOST_PP_DEC(y)) |
#define BOOST_PP_ADD_P | ( | d, | |
xy | |||
) | BOOST_PP_TUPLE_ELEM(2, 1, xy) |