#include <boost/preprocessor/tuple/to_array.hpp>
#define TUPLE (a,b,c)
BOOST_PP_TUPLE_TO_ARRAY(3,TUPLE) // expands to (3, (a, b, c))
// or for the variadic version (v)
BOOST_PP_TUPLE_TO_ARRAY(TUPLE) // expands to (3, (a, b, c))
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)