2 // Copyright Peter Dimov 2001
\r
3 // Copyright Aleksey Gurtovoy 2001-2004
\r
5 // Distributed under the Boost Software License, Version 1.0.
\r
6 // (See accompanying file LICENSE_1_0.txt or copy at
\r
7 // http://www.boost.org/LICENSE_1_0.txt)
\r
10 // Preprocessed version of "boost/mpl/aux_/basic_bind.hpp" header
\r
11 // -- DO NOT modify by hand!
\r
13 namespace boost { namespace mpl {
\r
18 typename T, typename U1, typename U2, typename U3, typename U4
\r
21 struct resolve_bind_arg
\r
27 int N, typename U1, typename U2, typename U3, typename U4, typename U5
\r
29 struct resolve_bind_arg< arg<N>, U1, U2, U3, U4, U5 >
\r
31 typedef typename apply_wrap5<mpl::arg<N>, U1, U2, U3, U4, U5>::type type;
\r
42 typename U1 = na, typename U2 = na, typename U3 = na
\r
43 , typename U4 = na, typename U5 = na
\r
48 typedef typename aux::resolve_bind_arg< F,U1,U2,U3,U4,U5 >::type f_;
\r
51 typedef typename apply_wrap0<
\r
61 typename F, typename U1, typename U2, typename U3, typename U4
\r
64 struct resolve_bind_arg<
\r
65 bind0<F>, U1, U2, U3, U4, U5
\r
68 typedef bind0<F> f_;
\r
69 typedef typename apply_wrap5< f_,U1,U2,U3,U4,U5 >::type type;
\r
74 BOOST_MPL_AUX_ARITY_SPEC(1, bind0)
\r
75 BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(1, bind0)
\r
78 typename F, typename T1
\r
83 typename U1 = na, typename U2 = na, typename U3 = na
\r
84 , typename U4 = na, typename U5 = na
\r
89 typedef typename aux::resolve_bind_arg< F,U1,U2,U3,U4,U5 >::type f_;
\r
90 typedef aux::resolve_bind_arg< T1,U1,U2,U3,U4,U5 > t1;
\r
93 typedef typename apply_wrap1<
\r
104 typename F, typename T1, typename U1, typename U2, typename U3
\r
105 , typename U4, typename U5
\r
107 struct resolve_bind_arg<
\r
108 bind1< F,T1 >, U1, U2, U3, U4, U5
\r
111 typedef bind1< F,T1 > f_;
\r
112 typedef typename apply_wrap5< f_,U1,U2,U3,U4,U5 >::type type;
\r
117 BOOST_MPL_AUX_ARITY_SPEC(2, bind1)
\r
118 BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(2, bind1)
\r
121 typename F, typename T1, typename T2
\r
126 typename U1 = na, typename U2 = na, typename U3 = na
\r
127 , typename U4 = na, typename U5 = na
\r
132 typedef typename aux::resolve_bind_arg< F,U1,U2,U3,U4,U5 >::type f_;
\r
133 typedef aux::resolve_bind_arg< T1,U1,U2,U3,U4,U5 > t1;
\r
134 typedef aux::resolve_bind_arg< T2,U1,U2,U3,U4,U5 > t2;
\r
137 typedef typename apply_wrap2<
\r
139 , typename t1::type, typename t2::type
\r
148 typename F, typename T1, typename T2, typename U1, typename U2
\r
149 , typename U3, typename U4, typename U5
\r
151 struct resolve_bind_arg<
\r
152 bind2< F,T1,T2 >, U1, U2, U3, U4, U5
\r
155 typedef bind2< F,T1,T2 > f_;
\r
156 typedef typename apply_wrap5< f_,U1,U2,U3,U4,U5 >::type type;
\r
161 BOOST_MPL_AUX_ARITY_SPEC(3, bind2)
\r
162 BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(3, bind2)
\r
165 typename F, typename T1, typename T2, typename T3
\r
170 typename U1 = na, typename U2 = na, typename U3 = na
\r
171 , typename U4 = na, typename U5 = na
\r
176 typedef typename aux::resolve_bind_arg< F,U1,U2,U3,U4,U5 >::type f_;
\r
177 typedef aux::resolve_bind_arg< T1,U1,U2,U3,U4,U5 > t1;
\r
178 typedef aux::resolve_bind_arg< T2,U1,U2,U3,U4,U5 > t2;
\r
179 typedef aux::resolve_bind_arg< T3,U1,U2,U3,U4,U5 > t3;
\r
182 typedef typename apply_wrap3<
\r
184 , typename t1::type, typename t2::type, typename t3::type
\r
193 typename F, typename T1, typename T2, typename T3, typename U1
\r
194 , typename U2, typename U3, typename U4, typename U5
\r
196 struct resolve_bind_arg<
\r
197 bind3< F,T1,T2,T3 >, U1, U2, U3, U4, U5
\r
200 typedef bind3< F,T1,T2,T3 > f_;
\r
201 typedef typename apply_wrap5< f_,U1,U2,U3,U4,U5 >::type type;
\r
206 BOOST_MPL_AUX_ARITY_SPEC(4, bind3)
\r
207 BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(4, bind3)
\r
210 typename F, typename T1, typename T2, typename T3, typename T4
\r
215 typename U1 = na, typename U2 = na, typename U3 = na
\r
216 , typename U4 = na, typename U5 = na
\r
221 typedef typename aux::resolve_bind_arg< F,U1,U2,U3,U4,U5 >::type f_;
\r
222 typedef aux::resolve_bind_arg< T1,U1,U2,U3,U4,U5 > t1;
\r
223 typedef aux::resolve_bind_arg< T2,U1,U2,U3,U4,U5 > t2;
\r
224 typedef aux::resolve_bind_arg< T3,U1,U2,U3,U4,U5 > t3;
\r
225 typedef aux::resolve_bind_arg< T4,U1,U2,U3,U4,U5 > t4;
\r
228 typedef typename apply_wrap4<
\r
230 , typename t1::type, typename t2::type, typename t3::type
\r
231 , typename t4::type
\r
240 typename F, typename T1, typename T2, typename T3, typename T4
\r
241 , typename U1, typename U2, typename U3, typename U4, typename U5
\r
243 struct resolve_bind_arg<
\r
244 bind4< F,T1,T2,T3,T4 >, U1, U2, U3, U4, U5
\r
247 typedef bind4< F,T1,T2,T3,T4 > f_;
\r
248 typedef typename apply_wrap5< f_,U1,U2,U3,U4,U5 >::type type;
\r
253 BOOST_MPL_AUX_ARITY_SPEC(5, bind4)
\r
254 BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(5, bind4)
\r
257 typename F, typename T1, typename T2, typename T3, typename T4
\r
263 typename U1 = na, typename U2 = na, typename U3 = na
\r
264 , typename U4 = na, typename U5 = na
\r
269 typedef typename aux::resolve_bind_arg< F,U1,U2,U3,U4,U5 >::type f_;
\r
270 typedef aux::resolve_bind_arg< T1,U1,U2,U3,U4,U5 > t1;
\r
271 typedef aux::resolve_bind_arg< T2,U1,U2,U3,U4,U5 > t2;
\r
272 typedef aux::resolve_bind_arg< T3,U1,U2,U3,U4,U5 > t3;
\r
273 typedef aux::resolve_bind_arg< T4,U1,U2,U3,U4,U5 > t4;
\r
274 typedef aux::resolve_bind_arg< T5,U1,U2,U3,U4,U5 > t5;
\r
277 typedef typename apply_wrap5<
\r
279 , typename t1::type, typename t2::type, typename t3::type
\r
280 , typename t4::type, typename t5::type
\r
289 typename F, typename T1, typename T2, typename T3, typename T4
\r
290 , typename T5, typename U1, typename U2, typename U3, typename U4
\r
293 struct resolve_bind_arg<
\r
294 bind5< F,T1,T2,T3,T4,T5 >, U1, U2, U3, U4, U5
\r
297 typedef bind5< F,T1,T2,T3,T4,T5 > f_;
\r
298 typedef typename apply_wrap5< f_,U1,U2,U3,U4,U5 >::type type;
\r
303 BOOST_MPL_AUX_ARITY_SPEC(6, bind5)
\r
304 BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(6, bind5)
\r