epoc32/include/stdapis/boost/preprocessor/tuple/rem.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/rem.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,72 @@
     1.4 +# /* **************************************************************************
     1.5 +#  *                                                                          *
     1.6 +#  *     (C) Copyright Paul Mensonides 2002.
     1.7 +#  *     Distributed under the Boost Software License, Version 1.0. (See
     1.8 +#  *     accompanying file LICENSE_1_0.txt or copy at
     1.9 +#  *     http://www.boost.org/LICENSE_1_0.txt)
    1.10 +#  *                                                                          *
    1.11 +#  ************************************************************************** */
    1.12 +#
    1.13 +# /* See http://www.boost.org for most recent version. */
    1.14 +#
    1.15 +# ifndef BOOST_PREPROCESSOR_TUPLE_REM_HPP
    1.16 +# define BOOST_PREPROCESSOR_TUPLE_REM_HPP
    1.17 +#
    1.18 +# include <boost/preprocessor/config/config.hpp>
    1.19 +#
    1.20 +# /* BOOST_PP_TUPLE_REM */
    1.21 +#
    1.22 +# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
    1.23 +#    define BOOST_PP_TUPLE_REM(size) BOOST_PP_TUPLE_REM_I(size)
    1.24 +# else
    1.25 +#    define BOOST_PP_TUPLE_REM(size) BOOST_PP_TUPLE_REM_OO((size))
    1.26 +#    define BOOST_PP_TUPLE_REM_OO(par) BOOST_PP_TUPLE_REM_I ## par
    1.27 +# endif
    1.28 +#
    1.29 +# define BOOST_PP_TUPLE_REM_I(size) BOOST_PP_TUPLE_REM_ ## size
    1.30 +#
    1.31 +# define BOOST_PP_TUPLE_REM_0()
    1.32 +# define BOOST_PP_TUPLE_REM_1(a) a
    1.33 +# define BOOST_PP_TUPLE_REM_2(a, b) a, b
    1.34 +# define BOOST_PP_TUPLE_REM_3(a, b, c) a, b, c
    1.35 +# define BOOST_PP_TUPLE_REM_4(a, b, c, d) a, b, c, d
    1.36 +# define BOOST_PP_TUPLE_REM_5(a, b, c, d, e) a, b, c, d, e
    1.37 +# define BOOST_PP_TUPLE_REM_6(a, b, c, d, e, f) a, b, c, d, e, f
    1.38 +# define BOOST_PP_TUPLE_REM_7(a, b, c, d, e, f, g) a, b, c, d, e, f, g
    1.39 +# define BOOST_PP_TUPLE_REM_8(a, b, c, d, e, f, g, h) a, b, c, d, e, f, g, h
    1.40 +# define BOOST_PP_TUPLE_REM_9(a, b, c, d, e, f, g, h, i) a, b, c, d, e, f, g, h, i
    1.41 +# 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
    1.42 +# 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
    1.43 +# 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
    1.44 +# 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
    1.45 +# 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
    1.46 +# 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
    1.47 +# 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
    1.48 +# 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
    1.49 +# 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
    1.50 +# 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
    1.51 +# 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
    1.52 +# 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
    1.53 +# 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
    1.54 +# 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
    1.55 +# 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
    1.56 +# 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
    1.57 +#
    1.58 +# /* BOOST_PP_TUPLE_REM_CTOR */
    1.59 +#
    1.60 +# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
    1.61 +#    define BOOST_PP_TUPLE_REM_CTOR(size, tuple) BOOST_PP_TUPLE_REM_CTOR_I(BOOST_PP_TUPLE_REM(size), tuple)
    1.62 +# else
    1.63 +#    define BOOST_PP_TUPLE_REM_CTOR(size, tuple) BOOST_PP_TUPLE_REM_CTOR_D(size, tuple)
    1.64 +#    define BOOST_PP_TUPLE_REM_CTOR_D(size, tuple) BOOST_PP_TUPLE_REM_CTOR_I(BOOST_PP_TUPLE_REM(size), tuple)
    1.65 +# endif
    1.66 +#
    1.67 +# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
    1.68 +#    define BOOST_PP_TUPLE_REM_CTOR_I(ext, tuple) ext tuple
    1.69 +# else
    1.70 +#    define BOOST_PP_TUPLE_REM_CTOR_I(ext, tuple) BOOST_PP_TUPLE_REM_CTOR_OO((ext, tuple))
    1.71 +#    define BOOST_PP_TUPLE_REM_CTOR_OO(par) BOOST_PP_TUPLE_REM_CTOR_II ## par
    1.72 +#    define BOOST_PP_TUPLE_REM_CTOR_II(ext, tuple) ext ## tuple
    1.73 +# endif
    1.74 +#
    1.75 +# endif