1234567891011121314151617181920212223242526 |
- #ifndef BOOST_PARAMETER_AUX_PREPROCESSOR_SEQ_ENUM_HPP
- #define BOOST_PARAMETER_AUX_PREPROCESSOR_SEQ_ENUM_HPP
- #include <boost/preprocessor/seq/enum.hpp>
- #include <boost/config.hpp>
- #include <boost/config/workaround.hpp>
- #if BOOST_WORKAROUND(__MWERKS__, <= 0x3003)
- #include <boost/preprocessor/seq/size.hpp>
- #define BOOST_PARAMETER_SEQ_ENUM_I(size, seq) \
- BOOST_PP_CAT(BOOST_PP_SEQ_ENUM_, size) seq
- #define BOOST_PARAMETER_SEQ_ENUM(seq) \
- BOOST_PARAMETER_SEQ_ENUM_I(BOOST_PP_SEQ_SIZE(seq), seq)
- #else
- #define BOOST_PARAMETER_SEQ_ENUM(seq) BOOST_PP_SEQ_ENUM(seq)
- #endif
- #endif
|