2 // Copyright Aleksey Gurtovoy 2000-2004
4 // Distributed under the Boost Software License, Version 1.0.
5 // (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
9 // Preprocessed version of "boost/mpl/apply_wrap.hpp" header
10 // -- DO NOT modify by hand!
12 namespace boost { namespace mpl {
17 template< bool > struct f_ : F {};
18 template<> struct f_<true>
20 template< typename P = int > struct apply
26 template< typename T = int > struct result_
27 : f_< aux::msvc_never_true<F>::value >
39 typedef typename msvc_apply0<F>::template result_<
44 /// workaround for ETI bug
46 struct apply_wrap0<int>
54 template< bool > struct f_ : F {};
55 template<> struct f_<true>
57 template< typename P1 > struct apply
63 template< typename T1 > struct result_
64 : f_< aux::msvc_never_true<F>::value >
71 typename F, typename T1
75 typedef typename msvc_apply1<F>::template result_<
80 /// workaround for ETI bug
82 struct apply_wrap1< int,int >
90 template< bool > struct f_ : F {};
91 template<> struct f_<true>
93 template< typename P1, typename P2 > struct apply
99 template< typename T1, typename T2 > struct result_
100 : f_< aux::msvc_never_true<F>::value >
101 ::template apply< T1,T2 >
107 typename F, typename T1, typename T2
111 typedef typename msvc_apply2<F>::template result_<
116 /// workaround for ETI bug
118 struct apply_wrap2< int,int,int >
123 template< typename F>
126 template< bool > struct f_ : F {};
127 template<> struct f_<true>
129 template< typename P1, typename P2, typename P3 > struct apply
135 template< typename T1, typename T2, typename T3 > struct result_
136 : f_< aux::msvc_never_true<F>::value >
137 ::template apply< T1,T2,T3 >
143 typename F, typename T1, typename T2, typename T3
147 typedef typename msvc_apply3<F>::template result_<
152 /// workaround for ETI bug
154 struct apply_wrap3< int,int,int,int >
159 template< typename F>
162 template< bool > struct f_ : F {};
163 template<> struct f_<true>
166 typename P1, typename P2, typename P3, typename P4
175 typename T1, typename T2, typename T3, typename T4
178 : f_< aux::msvc_never_true<F>::value >
179 ::template apply< T1,T2,T3,T4 >
185 typename F, typename T1, typename T2, typename T3, typename T4
189 typedef typename msvc_apply4<F>::template result_<
194 /// workaround for ETI bug
196 struct apply_wrap4< int,int,int,int,int >
201 template< typename F>
204 template< bool > struct f_ : F {};
205 template<> struct f_<true>
208 typename P1, typename P2, typename P3, typename P4
218 typename T1, typename T2, typename T3, typename T4
222 : f_< aux::msvc_never_true<F>::value >
223 ::template apply< T1,T2,T3,T4,T5 >
229 typename F, typename T1, typename T2, typename T3, typename T4
234 typedef typename msvc_apply5<F>::template result_<
239 /// workaround for ETI bug
241 struct apply_wrap5< int,int,int,int,int,int >