2 // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION
4 #if defined(BOOST_PP_IS_ITERATING)
6 // Copyright Aleksey Gurtovoy 2000-2004
8 // Distributed under the Boost Software License, Version 1.0.
9 // (See accompanying file LICENSE_1_0.txt or copy at
10 // http://www.boost.org/LICENSE_1_0.txt)
12 // See http://www.boost.org/libs/mpl for documentation.
18 #include <boost/preprocessor/enum_params.hpp>
19 #include <boost/preprocessor/dec.hpp>
20 #include <boost/preprocessor/cat.hpp>
22 #define i_ BOOST_PP_FRAME_ITERATION(1)
24 # define AUX778076_SET_TAIL(set, i_, T) \
25 typename BOOST_PP_CAT(set,i_)< \
26 BOOST_PP_ENUM_PARAMS(i_, T) \
32 BOOST_PP_ENUM_PARAMS(i_, typename T)
34 struct BOOST_PP_CAT(set,i_)
36 BOOST_PP_CAT(T,BOOST_PP_DEC(i_))
37 , AUX778076_SET_TAIL(set,BOOST_PP_DEC(i_),T)
40 typedef BOOST_PP_CAT(set,i_) type;
44 # undef AUX778076_SET_TAIL
48 #endif // BOOST_PP_IS_ITERATING