#include <boost/preprocessor/seq/subseq.hpp> #define SEQ (0)(1)(2)(3)(4)(5) BOOST_PP_SEQ_SUBSEQ(SEQ, 2, 3) // expands to (2)(3)(4)
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)