Back to home page

EIC code displayed by LXR

 
 

    


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

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 /// workaround for ETI bug
0032 template<>
0033 struct apply0<int>
0034 {
0035     typedef int type;
0036 };
0037 
0038 template<
0039       typename F, typename T1
0040     >
0041 struct apply1
0042 
0043     : apply_wrap1<
0044           typename lambda<F>::type
0045         , T1
0046         >
0047 {
0048     BOOST_MPL_AUX_LAMBDA_SUPPORT(
0049           2
0050         , apply1
0051         , (F, T1)
0052         )
0053 };
0054 
0055 /// workaround for ETI bug
0056 template<>
0057 struct apply1< int,int >
0058 {
0059     typedef int type;
0060 };
0061 
0062 template<
0063       typename F, typename T1, typename T2
0064     >
0065 struct apply2
0066 
0067     : apply_wrap2<
0068           typename lambda<F>::type
0069         , T1, T2
0070         >
0071 {
0072     BOOST_MPL_AUX_LAMBDA_SUPPORT(
0073           3
0074         , apply2
0075         , (F, T1, T2)
0076         )
0077 };
0078 
0079 /// workaround for ETI bug
0080 template<>
0081 struct apply2< int,int,int >
0082 {
0083     typedef int type;
0084 };
0085 
0086 template<
0087       typename F, typename T1, typename T2, typename T3
0088     >
0089 struct apply3
0090 
0091     : apply_wrap3<
0092           typename lambda<F>::type
0093         , T1, T2, T3
0094         >
0095 {
0096     BOOST_MPL_AUX_LAMBDA_SUPPORT(
0097           4
0098         , apply3
0099         , (F, T1, T2, T3)
0100         )
0101 };
0102 
0103 /// workaround for ETI bug
0104 template<>
0105 struct apply3< int,int,int,int >
0106 {
0107     typedef int type;
0108 };
0109 
0110 template<
0111       typename F, typename T1, typename T2, typename T3, typename T4
0112     >
0113 struct apply4
0114 
0115     : apply_wrap4<
0116           typename lambda<F>::type
0117         , T1, T2, T3, T4
0118         >
0119 {
0120     BOOST_MPL_AUX_LAMBDA_SUPPORT(
0121           5
0122         , apply4
0123         , (F, T1, T2, T3, T4)
0124         )
0125 };
0126 
0127 /// workaround for ETI bug
0128 template<>
0129 struct apply4< int,int,int,int,int >
0130 {
0131     typedef int type;
0132 };
0133 
0134 template<
0135       typename F, typename T1, typename T2, typename T3, typename T4
0136     , typename T5
0137     >
0138 struct apply5
0139 
0140     : apply_wrap5<
0141           typename lambda<F>::type
0142         , T1, T2, T3, T4, T5
0143         >
0144 {
0145     BOOST_MPL_AUX_LAMBDA_SUPPORT(
0146           6
0147         , apply5
0148         , (F, T1, T2, T3, T4, T5)
0149         )
0150 };
0151 
0152 /// workaround for ETI bug
0153 template<>
0154 struct apply5< int,int,int,int,int,int >
0155 {
0156     typedef int type;
0157 };
0158 
0159 }}
0160