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