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.
seq.hpp in vendors/XIOS/current/extern/boost/include/boost/preprocessor/seq – NEMO

source: vendors/XIOS/current/extern/boost/include/boost/preprocessor/seq/seq.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: 1.6 KB
Line 
1# /* **************************************************************************
2#  *                                                                          *
3#  *     (C) Copyright Paul Mensonides 2002.
4#  *     Distributed under the Boost Software License, Version 1.0. (See
5#  *     accompanying file LICENSE_1_0.txt or copy at
6#  *     http://www.boost.org/LICENSE_1_0.txt)
7#  *                                                                          *
8#  ************************************************************************** */
9#
10# /* See http://www.boost.org for most recent version. */
11#
12# ifndef BOOST_PREPROCESSOR_SEQ_SEQ_HPP
13# define BOOST_PREPROCESSOR_SEQ_SEQ_HPP
14#
15# include <boost/preprocessor/config/config.hpp>
16# include <boost/preprocessor/seq/elem.hpp>
17#
18# /* BOOST_PP_SEQ_HEAD */
19#
20# define BOOST_PP_SEQ_HEAD(seq) BOOST_PP_SEQ_ELEM(0, seq)
21#
22# /* BOOST_PP_SEQ_TAIL */
23#
24# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
25#    define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_1((seq))
26#    define BOOST_PP_SEQ_TAIL_1(par) BOOST_PP_SEQ_TAIL_2 ## par
27#    define BOOST_PP_SEQ_TAIL_2(seq) BOOST_PP_SEQ_TAIL_I ## seq
28# elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
29#    define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_ID(BOOST_PP_SEQ_TAIL_I seq)
30#    define BOOST_PP_SEQ_TAIL_ID(id) id
31# elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
32#    define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_D(seq)
33#    define BOOST_PP_SEQ_TAIL_D(seq) BOOST_PP_SEQ_TAIL_I seq
34# else
35#    define BOOST_PP_SEQ_TAIL(seq) BOOST_PP_SEQ_TAIL_I seq
36# endif
37#
38# define BOOST_PP_SEQ_TAIL_I(x)
39#
40# /* BOOST_PP_SEQ_NIL */
41#
42# define BOOST_PP_SEQ_NIL(x) (x)
43#
44# endif
Note: See TracBrowser for help on using the repository browser.