1 # /* Copyright (C) 2001
\r
3 # * http://www.housemarque.com
\r
5 # * Distributed under the Boost Software License, Version 1.0. (See
\r
6 # * accompanying file LICENSE_1_0.txt or copy at
\r
7 # * http://www.boost.org/LICENSE_1_0.txt)
\r
10 # /* Revised by Paul Mensonides (2002) */
\r
12 # /* See http://www.boost.org for most recent version. */
\r
14 # ifndef BOOST_PREPROCESSOR_TUPLE_EAT_HPP
\r
15 # define BOOST_PREPROCESSOR_TUPLE_EAT_HPP
\r
17 # include <boost/preprocessor/config/config.hpp>
\r
19 # /* BOOST_PP_TUPLE_EAT */
\r
21 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
\r
22 # define BOOST_PP_TUPLE_EAT(size) BOOST_PP_TUPLE_EAT_I(size)
\r
24 # define BOOST_PP_TUPLE_EAT(size) BOOST_PP_TUPLE_EAT_OO((size))
\r
25 # define BOOST_PP_TUPLE_EAT_OO(par) BOOST_PP_TUPLE_EAT_I ## par
\r
28 # define BOOST_PP_TUPLE_EAT_I(size) BOOST_PP_TUPLE_EAT_ ## size
\r
30 # define BOOST_PP_TUPLE_EAT_0()
\r
31 # define BOOST_PP_TUPLE_EAT_1(a)
\r
32 # define BOOST_PP_TUPLE_EAT_2(a, b)
\r
33 # define BOOST_PP_TUPLE_EAT_3(a, b, c)
\r
34 # define BOOST_PP_TUPLE_EAT_4(a, b, c, d)
\r
35 # define BOOST_PP_TUPLE_EAT_5(a, b, c, d, e)
\r
36 # define BOOST_PP_TUPLE_EAT_6(a, b, c, d, e, f)
\r
37 # define BOOST_PP_TUPLE_EAT_7(a, b, c, d, e, f, g)
\r
38 # define BOOST_PP_TUPLE_EAT_8(a, b, c, d, e, f, g, h)
\r
39 # define BOOST_PP_TUPLE_EAT_9(a, b, c, d, e, f, g, h, i)
\r
40 # define BOOST_PP_TUPLE_EAT_10(a, b, c, d, e, f, g, h, i, j)
\r
41 # define BOOST_PP_TUPLE_EAT_11(a, b, c, d, e, f, g, h, i, j, k)
\r
42 # define BOOST_PP_TUPLE_EAT_12(a, b, c, d, e, f, g, h, i, j, k, l)
\r
43 # define BOOST_PP_TUPLE_EAT_13(a, b, c, d, e, f, g, h, i, j, k, l, m)
\r
44 # define BOOST_PP_TUPLE_EAT_14(a, b, c, d, e, f, g, h, i, j, k, l, m, n)
\r
45 # define BOOST_PP_TUPLE_EAT_15(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)
\r
46 # define BOOST_PP_TUPLE_EAT_16(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
\r
47 # define BOOST_PP_TUPLE_EAT_17(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q)
\r
48 # define BOOST_PP_TUPLE_EAT_18(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r)
\r
49 # define BOOST_PP_TUPLE_EAT_19(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s)
\r
50 # define BOOST_PP_TUPLE_EAT_20(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
\r
51 # define BOOST_PP_TUPLE_EAT_21(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u)
\r
52 # define BOOST_PP_TUPLE_EAT_22(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v)
\r
53 # define BOOST_PP_TUPLE_EAT_23(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w)
\r
54 # define BOOST_PP_TUPLE_EAT_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)
\r
55 # define BOOST_PP_TUPLE_EAT_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)
\r