#include <boost/preprocessor/array/remove.hpp> #define ARRAY (3, (a, b, d)) BOOST_PP_ARRAY_REMOVE(ARRAY, 2) // expands to (2, (a, b))
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)