#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/config/config.hpp>
#include <boost/preprocessor/punctuation/comma_if.hpp>
#include <boost/preprocessor/repetition/repeat.hpp>
#include <boost/preprocessor/tuple/elem.hpp>
#include <boost/preprocessor/tuple/rem.hpp>
Macros | |
#define | BOOST_PP_ENUM_BINARY_PARAMS(count, p1, p2) BOOST_PP_ENUM_BINARY_PARAMS_I(count, p1, p2) |
#define | BOOST_PP_ENUM_BINARY_PARAMS_I(count, p1, p2) BOOST_PP_REPEAT(count, BOOST_PP_ENUM_BINARY_PARAMS_M, (p1, p2)) |
#define | BOOST_PP_ENUM_BINARY_PARAMS_M(z, n, pp) BOOST_PP_ENUM_BINARY_PARAMS_M_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, pp), BOOST_PP_TUPLE_ELEM(2, 1, pp)) |
#define | BOOST_PP_ENUM_BINARY_PARAMS_M_I(z, n, p1, p2) BOOST_PP_COMMA_IF(n) BOOST_PP_CAT(p1, n) BOOST_PP_CAT(p2, n) |
#define | BOOST_PP_ENUM_BINARY_PARAMS_Z(z, count, p1, p2) BOOST_PP_ENUM_BINARY_PARAMS_Z_I(z, count, p1, p2) |
#define | BOOST_PP_ENUM_BINARY_PARAMS_Z_I(z, count, p1, p2) BOOST_PP_REPEAT_ ## z(count, BOOST_PP_ENUM_BINARY_PARAMS_M, (p1, p2)) |
#define BOOST_PP_ENUM_BINARY_PARAMS | ( | count, | |
p1, | |||
p2 | |||
) | BOOST_PP_ENUM_BINARY_PARAMS_I(count, p1, p2) |
#define BOOST_PP_ENUM_BINARY_PARAMS_I | ( | count, | |
p1, | |||
p2 | |||
) | BOOST_PP_REPEAT(count, BOOST_PP_ENUM_BINARY_PARAMS_M, (p1, p2)) |
#define BOOST_PP_ENUM_BINARY_PARAMS_M | ( | z, | |
n, | |||
pp | |||
) | BOOST_PP_ENUM_BINARY_PARAMS_M_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, pp), BOOST_PP_TUPLE_ELEM(2, 1, pp)) |
#define BOOST_PP_ENUM_BINARY_PARAMS_M_I | ( | z, | |
n, | |||
p1, | |||
p2 | |||
) | BOOST_PP_COMMA_IF(n) BOOST_PP_CAT(p1, n) BOOST_PP_CAT(p2, n) |
#define BOOST_PP_ENUM_BINARY_PARAMS_Z | ( | z, | |
count, | |||
p1, | |||
p2 | |||
) | BOOST_PP_ENUM_BINARY_PARAMS_Z_I(z, count, p1, p2) |
#define BOOST_PP_ENUM_BINARY_PARAMS_Z_I | ( | z, | |
count, | |||
p1, | |||
p2 | |||
) | BOOST_PP_REPEAT_ ## z(count, BOOST_PP_ENUM_BINARY_PARAMS_M, (p1, p2)) |