williamr@2: # /* ************************************************************************** williamr@2: # * * williamr@2: # * (C) Copyright Paul Mensonides 2002. williamr@2: # * Distributed under the Boost Software License, Version 1.0. (See williamr@2: # * accompanying file LICENSE_1_0.txt or copy at williamr@2: # * http://www.boost.org/LICENSE_1_0.txt) williamr@2: # * * williamr@2: # ************************************************************************** */ williamr@2: # williamr@2: # /* See http://www.boost.org for most recent version. */ williamr@2: # williamr@2: # ifndef BOOST_PREPROCESSOR_TUPLE_REM_HPP williamr@2: # define BOOST_PREPROCESSOR_TUPLE_REM_HPP williamr@2: # williamr@2: # include williamr@2: # williamr@2: # /* BOOST_PP_TUPLE_REM */ williamr@2: # williamr@2: # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() williamr@2: # define BOOST_PP_TUPLE_REM(size) BOOST_PP_TUPLE_REM_I(size) williamr@2: # else williamr@2: # define BOOST_PP_TUPLE_REM(size) BOOST_PP_TUPLE_REM_OO((size)) williamr@2: # define BOOST_PP_TUPLE_REM_OO(par) BOOST_PP_TUPLE_REM_I ## par williamr@2: # endif williamr@2: # williamr@2: # define BOOST_PP_TUPLE_REM_I(size) BOOST_PP_TUPLE_REM_ ## size williamr@2: # williamr@2: # define BOOST_PP_TUPLE_REM_0() williamr@2: # define BOOST_PP_TUPLE_REM_1(a) a williamr@2: # define BOOST_PP_TUPLE_REM_2(a, b) a, b williamr@2: # define BOOST_PP_TUPLE_REM_3(a, b, c) a, b, c williamr@2: # define BOOST_PP_TUPLE_REM_4(a, b, c, d) a, b, c, d williamr@2: # define BOOST_PP_TUPLE_REM_5(a, b, c, d, e) a, b, c, d, e williamr@2: # define BOOST_PP_TUPLE_REM_6(a, b, c, d, e, f) a, b, c, d, e, f williamr@2: # define BOOST_PP_TUPLE_REM_7(a, b, c, d, e, f, g) a, b, c, d, e, f, g williamr@2: # define BOOST_PP_TUPLE_REM_8(a, b, c, d, e, f, g, h) a, b, c, d, e, f, g, h williamr@2: # define BOOST_PP_TUPLE_REM_9(a, b, c, d, e, f, g, h, i) a, b, c, d, e, f, g, h, i williamr@2: # define BOOST_PP_TUPLE_REM_10(a, b, c, d, e, f, g, h, i, j) a, b, c, d, e, f, g, h, i, j williamr@2: # define BOOST_PP_TUPLE_REM_11(a, b, c, d, e, f, g, h, i, j, k) a, b, c, d, e, f, g, h, i, j, k williamr@2: # define BOOST_PP_TUPLE_REM_12(a, b, c, d, e, f, g, h, i, j, k, l) a, b, c, d, e, f, g, h, i, j, k, l williamr@2: # define BOOST_PP_TUPLE_REM_13(a, b, c, d, e, f, g, h, i, j, k, l, m) a, b, c, d, e, f, g, h, i, j, k, l, m williamr@2: # define BOOST_PP_TUPLE_REM_14(a, b, c, d, e, f, g, h, i, j, k, l, m, n) a, b, c, d, e, f, g, h, i, j, k, l, m, n williamr@2: # define BOOST_PP_TUPLE_REM_15(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) a, b, c, d, e, f, g, h, i, j, k, l, m, n, o williamr@2: # define BOOST_PP_TUPLE_REM_16(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p williamr@2: # define BOOST_PP_TUPLE_REM_17(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q) a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q williamr@2: # define BOOST_PP_TUPLE_REM_18(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r) a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r williamr@2: # define BOOST_PP_TUPLE_REM_19(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s) a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s williamr@2: # define BOOST_PP_TUPLE_REM_20(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t) a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t williamr@2: # define BOOST_PP_TUPLE_REM_21(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u) a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u williamr@2: # define BOOST_PP_TUPLE_REM_22(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v) a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v williamr@2: # define BOOST_PP_TUPLE_REM_23(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w) a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w williamr@2: # define BOOST_PP_TUPLE_REM_24(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x) a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x williamr@2: # define BOOST_PP_TUPLE_REM_25(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y) a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y williamr@2: # williamr@2: # /* BOOST_PP_TUPLE_REM_CTOR */ williamr@2: # williamr@2: # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() williamr@2: # define BOOST_PP_TUPLE_REM_CTOR(size, tuple) BOOST_PP_TUPLE_REM_CTOR_I(BOOST_PP_TUPLE_REM(size), tuple) williamr@2: # else williamr@2: # define BOOST_PP_TUPLE_REM_CTOR(size, tuple) BOOST_PP_TUPLE_REM_CTOR_D(size, tuple) williamr@2: # define BOOST_PP_TUPLE_REM_CTOR_D(size, tuple) BOOST_PP_TUPLE_REM_CTOR_I(BOOST_PP_TUPLE_REM(size), tuple) williamr@2: # endif williamr@2: # williamr@2: # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() williamr@2: # define BOOST_PP_TUPLE_REM_CTOR_I(ext, tuple) ext tuple williamr@2: # else williamr@2: # define BOOST_PP_TUPLE_REM_CTOR_I(ext, tuple) BOOST_PP_TUPLE_REM_CTOR_OO((ext, tuple)) williamr@2: # define BOOST_PP_TUPLE_REM_CTOR_OO(par) BOOST_PP_TUPLE_REM_CTOR_II ## par williamr@2: # define BOOST_PP_TUPLE_REM_CTOR_II(ext, tuple) ext ## tuple williamr@2: # endif williamr@2: # williamr@2: # endif