#include <boost/preprocessor/tuple/to_list.hpp>
BOOST_PP_TUPLE_TO_LIST(3, (x, y, z))
// expands to (x, (y, (z, BOOST_PP_NIL)))
// or for the variadic version (v)
BOOST_PP_TUPLE_TO_LIST((x, y, z))
// expands to (x, (y, (z, BOOST_PP_NIL)))
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)