#include <boost/preprocessor/arithmetic/dec.hpp>
#include <boost/preprocessor/arithmetic/inc.hpp>
#include <boost/preprocessor/array/elem.hpp>
#include <boost/preprocessor/array/size.hpp>
#include <boost/preprocessor/repetition/enum.hpp>
#include <boost/preprocessor/repetition/deduce_z.hpp>
Macros | |
#define | BOOST_PP_ARRAY_POP_FRONT(array) BOOST_PP_ARRAY_POP_FRONT_Z(BOOST_PP_DEDUCE_Z(), array) |
#define | BOOST_PP_ARRAY_POP_FRONT_Z(z, array) BOOST_PP_ARRAY_POP_FRONT_Z_D(z, array) |
#define | BOOST_PP_ARRAY_POP_FRONT_Z_D(z, array) BOOST_PP_ARRAY_POP_FRONT_I(z, BOOST_PP_ARRAY_SIZE(array), array) |
#define | BOOST_PP_ARRAY_POP_FRONT_I(z, size, array) (BOOST_PP_DEC(size), (BOOST_PP_ENUM_ ## z(BOOST_PP_DEC(size), BOOST_PP_ARRAY_POP_FRONT_M, array))) |
#define | BOOST_PP_ARRAY_POP_FRONT_M(z, n, data) BOOST_PP_ARRAY_ELEM(BOOST_PP_INC(n), data) |
#define BOOST_PP_ARRAY_POP_FRONT | ( | array | ) | BOOST_PP_ARRAY_POP_FRONT_Z(BOOST_PP_DEDUCE_Z(), array) |
#define BOOST_PP_ARRAY_POP_FRONT_I | ( | z, | |
size, | |||
array | |||
) | (BOOST_PP_DEC(size), (BOOST_PP_ENUM_ ## z(BOOST_PP_DEC(size), BOOST_PP_ARRAY_POP_FRONT_M, array))) |
#define BOOST_PP_ARRAY_POP_FRONT_M | ( | z, | |
n, | |||
data | |||
) | BOOST_PP_ARRAY_ELEM(BOOST_PP_INC(n), data) |
#define BOOST_PP_ARRAY_POP_FRONT_Z | ( | z, | |
array | |||
) | BOOST_PP_ARRAY_POP_FRONT_Z_D(z, array) |
#define BOOST_PP_ARRAY_POP_FRONT_Z_D | ( | z, | |
array | |||
) | BOOST_PP_ARRAY_POP_FRONT_I(z, BOOST_PP_ARRAY_SIZE(array), array) |