#include <boost/preprocessor/seq/to_array.hpp> #define SEQ (a)(b)(c) BOOST_PP_SEQ_TO_ARRAY(SEQ) // expands to (3, (a, b, c))