#include <boost/preprocessor/array/push_back.hpp> #define ARRAY (3, (a, b, c)) BOOST_PP_ARRAY_PUSH_BACK(ARRAY, d) // expands to (4, (a, b, c, d))