]> git.lyx.org Git - lyx.git/blob - 3rdparty/boost/boost/parameter/aux_/preprocessor/seq_enum.hpp
Update to boost 1.72
[lyx.git] / 3rdparty / boost / boost / parameter / aux_ / preprocessor / seq_enum.hpp
1 // Copyright David Abrahams 2005.
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
5
6 #ifndef BOOST_PARAMETER_AUX_PREPROCESSOR_SEQ_ENUM_HPP
7 #define BOOST_PARAMETER_AUX_PREPROCESSOR_SEQ_ENUM_HPP
8
9 #include <boost/preprocessor/seq/enum.hpp>
10 #include <boost/config.hpp>
11 #include <boost/config/workaround.hpp>
12
13 #if BOOST_WORKAROUND(__MWERKS__, <= 0x3003)
14 #include <boost/preprocessor/seq/size.hpp>
15 // Temporary version of BOOST_PP_SEQ_ENUM
16 // until Paul M. integrates the workaround.
17 #define BOOST_PARAMETER_SEQ_ENUM_I(size, seq) \
18     BOOST_PP_CAT(BOOST_PP_SEQ_ENUM_, size) seq
19 #define BOOST_PARAMETER_SEQ_ENUM(seq) \
20     BOOST_PARAMETER_SEQ_ENUM_I(BOOST_PP_SEQ_SIZE(seq), seq)
21 #else
22 #define BOOST_PARAMETER_SEQ_ENUM(seq) BOOST_PP_SEQ_ENUM(seq)
23 #endif
24
25 #endif  // include guard
26