#include <boost/preprocessor/seq/reverse.hpp> #define SEQ (1)(2)(3) BOOST_PP_SEQ_REVERSE(SEQ) // expands to (3)(2)(1)