New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
eat.hpp in vendors/XIOS/current/extern/boost/include/boost/preprocessor/tuple – NEMO

source: vendors/XIOS/current/extern/boost/include/boost/preprocessor/tuple/eat.hpp @ 3408

Last change on this file since 3408 was 3408, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# /* Copyright (C) 2001
2#  * Housemarque Oy
3#  * http://www.housemarque.com
4#  *
5#  * Distributed under the Boost Software License, Version 1.0. (See
6#  * accompanying file LICENSE_1_0.txt or copy at
7#  * http://www.boost.org/LICENSE_1_0.txt)
8#  */
9#
10# /* Revised by Paul Mensonides (2002) */
11#
12# /* See http://www.boost.org for most recent version. */
13#
14# ifndef BOOST_PREPROCESSOR_TUPLE_EAT_HPP
15# define BOOST_PREPROCESSOR_TUPLE_EAT_HPP
16#
17# include <boost/preprocessor/config/config.hpp>
18#
19# /* BOOST_PP_TUPLE_EAT */
20#
21# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
22#    define BOOST_PP_TUPLE_EAT(size) BOOST_PP_TUPLE_EAT_I(size)
23# else
24#    define BOOST_PP_TUPLE_EAT(size) BOOST_PP_TUPLE_EAT_OO((size))
25#    define BOOST_PP_TUPLE_EAT_OO(par) BOOST_PP_TUPLE_EAT_I ## par
26# endif
27#
28# define BOOST_PP_TUPLE_EAT_I(size) BOOST_PP_TUPLE_EAT_ ## size
29#
30# define BOOST_PP_TUPLE_EAT_0()
31# define BOOST_PP_TUPLE_EAT_1(a)
32# define BOOST_PP_TUPLE_EAT_2(a, b)
33# define BOOST_PP_TUPLE_EAT_3(a, b, c)
34# define BOOST_PP_TUPLE_EAT_4(a, b, c, d)
35# define BOOST_PP_TUPLE_EAT_5(a, b, c, d, e)
36# define BOOST_PP_TUPLE_EAT_6(a, b, c, d, e, f)
37# define BOOST_PP_TUPLE_EAT_7(a, b, c, d, e, f, g)
38# define BOOST_PP_TUPLE_EAT_8(a, b, c, d, e, f, g, h)
39# define BOOST_PP_TUPLE_EAT_9(a, b, c, d, e, f, g, h, i)
40# define BOOST_PP_TUPLE_EAT_10(a, b, c, d, e, f, g, h, i, j)
41# define BOOST_PP_TUPLE_EAT_11(a, b, c, d, e, f, g, h, i, j, k)
42# define BOOST_PP_TUPLE_EAT_12(a, b, c, d, e, f, g, h, i, j, k, l)
43# define BOOST_PP_TUPLE_EAT_13(a, b, c, d, e, f, g, h, i, j, k, l, m)
44# define BOOST_PP_TUPLE_EAT_14(a, b, c, d, e, f, g, h, i, j, k, l, m, n)
45# define BOOST_PP_TUPLE_EAT_15(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)
46# define BOOST_PP_TUPLE_EAT_16(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
47# define BOOST_PP_TUPLE_EAT_17(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q)
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)
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)
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)
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)
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)
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)
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)
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)
56#
57# endif
Note: See TracBrowser for help on using the repository browser.