Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:41:44

0001 
0002 // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION
0003 
0004 #if defined(BOOST_PP_IS_ITERATING)
0005 
0006 // Copyright Aleksey Gurtovoy 2000-2004
0007 //
0008 // Distributed under the Boost Software License, Version 1.0. 
0009 // (See accompanying file LICENSE_1_0.txt or copy at 
0010 // http://www.boost.org/LICENSE_1_0.txt)
0011 //
0012 // See http://www.boost.org/libs/mpl for documentation.
0013 
0014 // $Id$
0015 // $Date$
0016 // $Revision$
0017 
0018 #include <boost/preprocessor/repetition/enum_params.hpp>
0019 #include <boost/preprocessor/repetition/enum_trailing_params.hpp>
0020 #include <boost/preprocessor/dec.hpp>
0021 #include <boost/preprocessor/cat.hpp>
0022 
0023 #define i_ BOOST_PP_FRAME_ITERATION(1)
0024 
0025 #   define AUX778076_SET_C_TAIL(set, i_, T, C) \
0026     BOOST_PP_CAT(BOOST_PP_CAT(set,i_),_c)< \
0027           T BOOST_PP_ENUM_TRAILING_PARAMS(i_, C) \
0028         > \
0029     /**/
0030 
0031 template<
0032       typename T
0033     , BOOST_PP_ENUM_PARAMS(i_, T C)
0034     >
0035 struct BOOST_PP_CAT(BOOST_PP_CAT(set,i_),_c)
0036     : s_item<
0037           integral_c<T,BOOST_PP_CAT(C,BOOST_PP_DEC(i_))>
0038         , AUX778076_SET_C_TAIL(set,BOOST_PP_DEC(i_), T, C)
0039         >
0040 {
0041     typedef BOOST_PP_CAT(BOOST_PP_CAT(set,i_),_c) type;
0042 };
0043 
0044 #   undef AUX778076_SET_C_TAIL
0045 
0046 #undef i_
0047 
0048 #endif // BOOST_PP_IS_ITERATING