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 the main "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, typename U2, typename U3, typename U4, typename U5
\r
47 typedef typename aux::resolve_bind_arg< F,U1,U2,U3,U4,U5 >::type f_;
\r
50 typedef typename apply_wrap0<
\r
60 typename F, typename U1, typename U2, typename U3, typename U4
\r
63 struct resolve_bind_arg<
\r
64 bind0<F>, U1, U2, U3, U4, U5
\r
67 typedef bind0<F> f_;
\r
68 typedef typename apply_wrap5< f_,U1,U2,U3,U4,U5 >::type type;
\r
73 BOOST_MPL_AUX_ARITY_SPEC(1, bind0)
\r
74 BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(1, bind0)
\r
77 typename F, typename T1
\r
82 typename U1, typename U2, typename U3, typename U4, typename U5
\r
87 typedef typename aux::resolve_bind_arg< F,U1,U2,U3,U4,U5 >::type f_;
\r
88 typedef aux::resolve_bind_arg< T1,U1,U2,U3,U4,U5 > t1;
\r
91 typedef typename apply_wrap1<
\r
102 typename F, typename T1, typename U1, typename U2, typename U3
\r
103 , typename U4, typename U5
\r
105 struct resolve_bind_arg<
\r
106 bind1< F,T1 >, U1, U2, U3, U4, U5
\r
109 typedef bind1< F,T1 > f_;
\r
110 typedef typename apply_wrap5< f_,U1,U2,U3,U4,U5 >::type type;
\r
115 BOOST_MPL_AUX_ARITY_SPEC(2, bind1)
\r
116 BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(2, bind1)
\r
119 typename F, typename T1, typename T2
\r
124 typename U1, typename U2, typename U3, typename U4, typename U5
\r
129 typedef typename aux::resolve_bind_arg< F,U1,U2,U3,U4,U5 >::type f_;
\r
130 typedef aux::resolve_bind_arg< T1,U1,U2,U3,U4,U5 > t1;
\r
131 typedef aux::resolve_bind_arg< T2,U1,U2,U3,U4,U5 > t2;
\r
134 typedef typename apply_wrap2<
\r
136 , typename t1::type, typename t2::type
\r
145 typename F, typename T1, typename T2, typename U1, typename U2
\r
146 , typename U3, typename U4, typename U5
\r
148 struct resolve_bind_arg<
\r
149 bind2< F,T1,T2 >, U1, U2, U3, U4, U5
\r
152 typedef bind2< F,T1,T2 > f_;
\r
153 typedef typename apply_wrap5< f_,U1,U2,U3,U4,U5 >::type type;
\r
158 BOOST_MPL_AUX_ARITY_SPEC(3, bind2)
\r
159 BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(3, bind2)
\r
162 typename F, typename T1, typename T2, typename T3
\r
167 typename U1, typename U2, typename U3, typename U4, typename U5
\r
172 typedef typename aux::resolve_bind_arg< F,U1,U2,U3,U4,U5 >::type f_;
\r
173 typedef aux::resolve_bind_arg< T1,U1,U2,U3,U4,U5 > t1;
\r
174 typedef aux::resolve_bind_arg< T2,U1,U2,U3,U4,U5 > t2;
\r
175 typedef aux::resolve_bind_arg< T3,U1,U2,U3,U4,U5 > t3;
\r
178 typedef typename apply_wrap3<
\r
180 , typename t1::type, typename t2::type, typename t3::type
\r
189 typename F, typename T1, typename T2, typename T3, typename U1
\r
190 , typename U2, typename U3, typename U4, typename U5
\r
192 struct resolve_bind_arg<
\r
193 bind3< F,T1,T2,T3 >, U1, U2, U3, U4, U5
\r
196 typedef bind3< F,T1,T2,T3 > f_;
\r
197 typedef typename apply_wrap5< f_,U1,U2,U3,U4,U5 >::type type;
\r
202 BOOST_MPL_AUX_ARITY_SPEC(4, bind3)
\r
203 BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(4, bind3)
\r
206 typename F, typename T1, typename T2, typename T3, typename T4
\r
211 typename U1, typename U2, typename U3, typename U4, typename U5
\r
216 typedef typename aux::resolve_bind_arg< F,U1,U2,U3,U4,U5 >::type f_;
\r
217 typedef aux::resolve_bind_arg< T1,U1,U2,U3,U4,U5 > t1;
\r
218 typedef aux::resolve_bind_arg< T2,U1,U2,U3,U4,U5 > t2;
\r
219 typedef aux::resolve_bind_arg< T3,U1,U2,U3,U4,U5 > t3;
\r
220 typedef aux::resolve_bind_arg< T4,U1,U2,U3,U4,U5 > t4;
\r
223 typedef typename apply_wrap4<
\r
225 , typename t1::type, typename t2::type, typename t3::type
\r
226 , typename t4::type
\r
235 typename F, typename T1, typename T2, typename T3, typename T4
\r
236 , typename U1, typename U2, typename U3, typename U4, typename U5
\r
238 struct resolve_bind_arg<
\r
239 bind4< F,T1,T2,T3,T4 >, U1, U2, U3, U4, U5
\r
242 typedef bind4< F,T1,T2,T3,T4 > f_;
\r
243 typedef typename apply_wrap5< f_,U1,U2,U3,U4,U5 >::type type;
\r
248 BOOST_MPL_AUX_ARITY_SPEC(5, bind4)
\r
249 BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(5, bind4)
\r
252 typename F, typename T1, typename T2, typename T3, typename T4
\r
258 typename U1, typename U2, typename U3, typename U4, typename U5
\r
263 typedef typename aux::resolve_bind_arg< F,U1,U2,U3,U4,U5 >::type f_;
\r
264 typedef aux::resolve_bind_arg< T1,U1,U2,U3,U4,U5 > t1;
\r
265 typedef aux::resolve_bind_arg< T2,U1,U2,U3,U4,U5 > t2;
\r
266 typedef aux::resolve_bind_arg< T3,U1,U2,U3,U4,U5 > t3;
\r
267 typedef aux::resolve_bind_arg< T4,U1,U2,U3,U4,U5 > t4;
\r
268 typedef aux::resolve_bind_arg< T5,U1,U2,U3,U4,U5 > t5;
\r
271 typedef typename apply_wrap5<
\r
273 , typename t1::type, typename t2::type, typename t3::type
\r
274 , typename t4::type, typename t5::type
\r
283 typename F, typename T1, typename T2, typename T3, typename T4
\r
284 , typename T5, typename U1, typename U2, typename U3, typename U4
\r
287 struct resolve_bind_arg<
\r
288 bind5< F,T1,T2,T3,T4,T5 >, U1, U2, U3, U4, U5
\r
291 typedef bind5< F,T1,T2,T3,T4,T5 > f_;
\r
292 typedef typename apply_wrap5< f_,U1,U2,U3,U4,U5 >::type type;
\r
297 BOOST_MPL_AUX_ARITY_SPEC(6, bind5)
\r
298 BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(6, bind5)
\r