Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:43:28

0001 // Copyright David Abrahams 2005.
0002 // Distributed under the Boost Software License, Version 1.0.
0003 // (See accompanying file LICENSE_1_0.txt or copy at
0004 // http://www.boost.org/LICENSE_1_0.txt)
0005 
0006 #ifndef BOOST_PARAMETER_AUX_PREPROCESSOR_SEQ_ENUM_HPP
0007 #define BOOST_PARAMETER_AUX_PREPROCESSOR_SEQ_ENUM_HPP
0008 
0009 #include <boost/preprocessor/seq/enum.hpp>
0010 #include <boost/config.hpp>
0011 #include <boost/config/workaround.hpp>
0012 
0013 #if BOOST_WORKAROUND(__MWERKS__, <= 0x3003)
0014 #include <boost/preprocessor/seq/size.hpp>
0015 // Temporary version of BOOST_PP_SEQ_ENUM
0016 // until Paul M. integrates the workaround.
0017 #define BOOST_PARAMETER_SEQ_ENUM_I(size, seq) \
0018     BOOST_PP_CAT(BOOST_PP_SEQ_ENUM_, size) seq
0019 #define BOOST_PARAMETER_SEQ_ENUM(seq) \
0020     BOOST_PARAMETER_SEQ_ENUM_I(BOOST_PP_SEQ_SIZE(seq), seq)
0021 #else
0022 #define BOOST_PARAMETER_SEQ_ENUM(seq) BOOST_PP_SEQ_ENUM(seq)
0023 #endif
0024 
0025 #endif  // include guard
0026