Back to home page

EIC code displayed by LXR

 
 

    


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

0001 
0002 // Copyright Aleksey Gurtovoy 2000-2004
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. 
0005 // (See accompanying file LICENSE_1_0.txt or copy at 
0006 // http://www.boost.org/LICENSE_1_0.txt)
0007 //
0008 
0009 // Preprocessed version of "boost/mpl/apply.hpp" header
0010 // -- DO NOT modify by hand!
0011 
0012 namespace boost { namespace mpl {
0013 
0014 template<
0015       typename F
0016     >
0017 struct apply0
0018 
0019     : apply_wrap0<
0020           typename lambda<F>::type
0021        
0022         >
0023 {
0024     BOOST_MPL_AUX_LAMBDA_SUPPORT(
0025           1
0026         , apply0
0027         , (F )
0028         )
0029 };
0030 
0031 template<
0032       typename F
0033     >
0034 struct apply< F,na,na,na,na,na >
0035     : apply0<F>
0036 {
0037 };
0038 
0039 template<
0040       typename F, typename T1
0041     >
0042 struct apply1
0043 
0044     : apply_wrap1<
0045           typename lambda<F>::type
0046         , T1
0047         >
0048 {
0049     BOOST_MPL_AUX_LAMBDA_SUPPORT(
0050           2
0051         , apply1
0052         , (F, T1)
0053         )
0054 };
0055 
0056 template<
0057       typename F, typename T1
0058     >
0059 struct apply< F,T1,na,na,na,na >
0060     : apply1< F,T1 >
0061 {
0062 };
0063 
0064 template<
0065       typename F, typename T1, typename T2
0066     >
0067 struct apply2
0068 
0069     : apply_wrap2<
0070           typename lambda<F>::type
0071         , T1, T2
0072         >
0073 {
0074     BOOST_MPL_AUX_LAMBDA_SUPPORT(
0075           3
0076         , apply2
0077         , (F, T1, T2)
0078         )
0079 };
0080 
0081 template<
0082       typename F, typename T1, typename T2
0083     >
0084 struct apply< F,T1,T2,na,na,na >
0085     : apply2< F,T1,T2 >
0086 {
0087 };
0088 
0089 template<
0090       typename F, typename T1, typename T2, typename T3
0091     >
0092 struct apply3
0093 
0094     : apply_wrap3<
0095           typename lambda<F>::type
0096         , T1, T2, T3
0097         >
0098 {
0099     BOOST_MPL_AUX_LAMBDA_SUPPORT(
0100           4
0101         , apply3
0102         , (F, T1, T2, T3)
0103         )
0104 };
0105 
0106 template<
0107       typename F, typename T1, typename T2, typename T3
0108     >
0109 struct apply< F,T1,T2,T3,na,na >
0110     : apply3< F,T1,T2,T3 >
0111 {
0112 };
0113 
0114 template<
0115       typename F, typename T1, typename T2, typename T3, typename T4
0116     >
0117 struct apply4
0118 
0119     : apply_wrap4<
0120           typename lambda<F>::type
0121         , T1, T2, T3, T4
0122         >
0123 {
0124     BOOST_MPL_AUX_LAMBDA_SUPPORT(
0125           5
0126         , apply4
0127         , (F, T1, T2, T3, T4)
0128         )
0129 };
0130 
0131 template<
0132       typename F, typename T1, typename T2, typename T3, typename T4
0133     >
0134 struct apply< F,T1,T2,T3,T4,na >
0135     : apply4< F,T1,T2,T3,T4 >
0136 {
0137 };
0138 
0139 template<
0140       typename F, typename T1, typename T2, typename T3, typename T4
0141     , typename T5
0142     >
0143 struct apply5
0144 
0145     : apply_wrap5<
0146           typename lambda<F>::type
0147         , T1, T2, T3, T4, T5
0148         >
0149 {
0150     BOOST_MPL_AUX_LAMBDA_SUPPORT(
0151           6
0152         , apply5
0153         , (F, T1, T2, T3, T4, T5)
0154         )
0155 };
0156 
0157 /// primary template (not a specialization!)
0158 
0159 template<
0160       typename F, typename T1, typename T2, typename T3, typename T4
0161     , typename T5
0162     >
0163 struct apply
0164     : apply5< F,T1,T2,T3,T4,T5 >
0165 {
0166 };
0167 
0168 }}
0169