epoc32/include/stdapis/boost/preprocessor/tuple/eat.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/preprocessor/tuple/eat.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,57 @@
     1.4 +# /* Copyright (C) 2001
     1.5 +#  * Housemarque Oy
     1.6 +#  * http://www.housemarque.com
     1.7 +#  *
     1.8 +#  * Distributed under the Boost Software License, Version 1.0. (See
     1.9 +#  * accompanying file LICENSE_1_0.txt or copy at
    1.10 +#  * http://www.boost.org/LICENSE_1_0.txt)
    1.11 +#  */
    1.12 +#
    1.13 +# /* Revised by Paul Mensonides (2002) */
    1.14 +#
    1.15 +# /* See http://www.boost.org for most recent version. */
    1.16 +#
    1.17 +# ifndef BOOST_PREPROCESSOR_TUPLE_EAT_HPP
    1.18 +# define BOOST_PREPROCESSOR_TUPLE_EAT_HPP
    1.19 +#
    1.20 +# include <boost/preprocessor/config/config.hpp>
    1.21 +#
    1.22 +# /* BOOST_PP_TUPLE_EAT */
    1.23 +#
    1.24 +# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
    1.25 +#    define BOOST_PP_TUPLE_EAT(size) BOOST_PP_TUPLE_EAT_I(size)
    1.26 +# else
    1.27 +#    define BOOST_PP_TUPLE_EAT(size) BOOST_PP_TUPLE_EAT_OO((size))
    1.28 +#    define BOOST_PP_TUPLE_EAT_OO(par) BOOST_PP_TUPLE_EAT_I ## par
    1.29 +# endif
    1.30 +#
    1.31 +# define BOOST_PP_TUPLE_EAT_I(size) BOOST_PP_TUPLE_EAT_ ## size
    1.32 +#
    1.33 +# define BOOST_PP_TUPLE_EAT_0()
    1.34 +# define BOOST_PP_TUPLE_EAT_1(a)
    1.35 +# define BOOST_PP_TUPLE_EAT_2(a, b)
    1.36 +# define BOOST_PP_TUPLE_EAT_3(a, b, c)
    1.37 +# define BOOST_PP_TUPLE_EAT_4(a, b, c, d)
    1.38 +# define BOOST_PP_TUPLE_EAT_5(a, b, c, d, e)
    1.39 +# define BOOST_PP_TUPLE_EAT_6(a, b, c, d, e, f)
    1.40 +# define BOOST_PP_TUPLE_EAT_7(a, b, c, d, e, f, g)
    1.41 +# define BOOST_PP_TUPLE_EAT_8(a, b, c, d, e, f, g, h)
    1.42 +# define BOOST_PP_TUPLE_EAT_9(a, b, c, d, e, f, g, h, i)
    1.43 +# define BOOST_PP_TUPLE_EAT_10(a, b, c, d, e, f, g, h, i, j)
    1.44 +# define BOOST_PP_TUPLE_EAT_11(a, b, c, d, e, f, g, h, i, j, k)
    1.45 +# define BOOST_PP_TUPLE_EAT_12(a, b, c, d, e, f, g, h, i, j, k, l)
    1.46 +# define BOOST_PP_TUPLE_EAT_13(a, b, c, d, e, f, g, h, i, j, k, l, m)
    1.47 +# define BOOST_PP_TUPLE_EAT_14(a, b, c, d, e, f, g, h, i, j, k, l, m, n)
    1.48 +# define BOOST_PP_TUPLE_EAT_15(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)
    1.49 +# define BOOST_PP_TUPLE_EAT_16(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
    1.50 +# define BOOST_PP_TUPLE_EAT_17(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q)
    1.51 +# define BOOST_PP_TUPLE_EAT_18(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r)
    1.52 +# 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)
    1.53 +# 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)
    1.54 +# 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)
    1.55 +# 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)
    1.56 +# 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)
    1.57 +# 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)
    1.58 +# 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)
    1.59 +#
    1.60 +# endif