#include <boost/preprocessor/tuple/to_list.hpp> BOOST_PP_TUPLE_TO_LIST(3, (x, y, z)) // expands to (x, (y, (z, BOOST_PP_NIL)))