#include <boost/preprocessor/tuple/reverse.hpp>
BOOST_PP_TUPLE_REVERSE(3, (x, y, z)) // expands to (z, y, x)
// or for the variadic version (v)
BOOST_PP_TUPLE_REVERSE((x, y, z)) // expands to (z, y, x)
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)