#include <boost/preprocessor/list/reverse.hpp> #define LIST (0, (1, (2, (3, BOOST_PP_NIL)))) BOOST_PP_LIST_REVERSE(LIST) // (3, (2, (1, (0, BOOST_PP_NIL)))) に展開される