* specify it.
*/
template <typename RT, typename ArgList,
- int length/* = boost::tuples::length<ArgList>::value*/>
+ int length>
class fun_encapsulator;
* specify it.
*/
template <typename RT, typename C, typename ArgList,
- int length/* = boost::tuples::length<ArgList>::value*/>
+ int length>
class mem_fun_encapsulator;
}
inline
internal::mem_fun_encapsulator<RT,C,boost::tuple<>,0>
spawn (C &c, RT (C::*fun_ptr)()) {
- return internal::mem_fun_encapsulator<RT, C, boost::tuple<> > (c,fun_ptr);
+ return internal::mem_fun_encapsulator<RT, C, boost::tuple<>,0> (c,fun_ptr);
}
/**
inline
internal::mem_fun_encapsulator<RT,const C,boost::tuple<>,0>
spawn (const C &c, RT (C::*fun_ptr)() const) {
- return internal::mem_fun_encapsulator<RT, const C, boost::tuple<> > (c,fun_ptr);
+ return internal::mem_fun_encapsulator<RT, const C, boost::tuple<>,0> (c,fun_ptr);
}
inline
internal::mem_fun_encapsulator<RT,C,boost::tuple<Arg1>,1>
spawn (C &c, RT (C::*fun_ptr)(Arg1)) {
- return internal::mem_fun_encapsulator<RT, C, boost::tuple<Arg1> > (c,fun_ptr);
+ return internal::mem_fun_encapsulator<RT, C, boost::tuple<Arg1>,1> (c,fun_ptr);
}
/**
inline
internal::mem_fun_encapsulator<RT,const C,boost::tuple<Arg1>,1>
spawn (const C &c, RT (C::*fun_ptr)(Arg1) const) {
- return internal::mem_fun_encapsulator<RT, const C, boost::tuple<Arg1> > (c,fun_ptr);
+ return internal::mem_fun_encapsulator<RT, const C, boost::tuple<Arg1>,1> (c,fun_ptr);
}
inline
internal::mem_fun_encapsulator<RT,C,boost::tuple<Arg1, Arg2>,2>
spawn (C &c, RT (C::*fun_ptr)(Arg1,Arg2)) {
- return internal::mem_fun_encapsulator<RT, C, boost::tuple<Arg1, Arg2> > (c,fun_ptr);
+ return internal::mem_fun_encapsulator<RT, C, boost::tuple<Arg1, Arg2>,2> (c,fun_ptr);
}
/**
inline
internal::mem_fun_encapsulator<RT,const C,boost::tuple<Arg1, Arg2>,2>
spawn (const C &c, RT (C::*fun_ptr)(Arg1,Arg2) const) {
- return internal::mem_fun_encapsulator<RT, const C, boost::tuple<Arg1, Arg2> > (c,fun_ptr);
+ return internal::mem_fun_encapsulator<RT, const C, boost::tuple<Arg1, Arg2>,2> (c,fun_ptr);
}
internal::mem_fun_encapsulator<RT,C,boost::tuple<Arg1, Arg2, Arg3>,3>
spawn (C &c, RT (C::*fun_ptr)(Arg1,Arg2,Arg3)) {
return internal::mem_fun_encapsulator<RT, C,
- boost::tuple<Arg1, Arg2, Arg3> > (c,fun_ptr);
+ boost::tuple<Arg1, Arg2, Arg3>,3> (c,fun_ptr);
}
/**
internal::mem_fun_encapsulator<RT,const C,boost::tuple<Arg1, Arg2, Arg3>,3>
spawn (const C &c, RT (C::*fun_ptr)(Arg1,Arg2,Arg3) const) {
return internal::mem_fun_encapsulator<RT, const C,
- boost::tuple<Arg1, Arg2, Arg3> > (c,fun_ptr);
+ boost::tuple<Arg1, Arg2, Arg3>,3> (c,fun_ptr);
}
internal::mem_fun_encapsulator<RT,C,boost::tuple<Arg1, Arg2, Arg3, Arg4>,4>
spawn (C &c, RT (C::*fun_ptr)(Arg1,Arg2,Arg3,Arg4)) {
return internal::mem_fun_encapsulator<RT, C,
- boost::tuple<Arg1, Arg2, Arg3, Arg4> > (c,fun_ptr);
+ boost::tuple<Arg1, Arg2, Arg3, Arg4>,4> (c,fun_ptr);
}
/**
internal::mem_fun_encapsulator<RT,const C,boost::tuple<Arg1, Arg2, Arg3, Arg4>,4>
spawn (const C &c, RT (C::*fun_ptr)(Arg1,Arg2,Arg3,Arg4) const) {
return internal::mem_fun_encapsulator<RT, const C,
- boost::tuple<Arg1, Arg2, Arg3, Arg4> > (c,fun_ptr);
+ boost::tuple<Arg1, Arg2, Arg3, Arg4>,4> (c,fun_ptr);
}
spawn (C &c, RT (C::*fun_ptr)(Arg1,Arg2,Arg3,Arg4,Arg5)) {
return internal::mem_fun_encapsulator<RT, C,
boost::tuple<Arg1, Arg2, Arg3,
- Arg4, Arg5> > (c,fun_ptr);
+ Arg4, Arg5>,5> (c,fun_ptr);
}
/**
spawn (const C &c, RT (C::*fun_ptr)(Arg1,Arg2,Arg3,Arg4,Arg5) const) {
return internal::mem_fun_encapsulator<RT, const C,
boost::tuple<Arg1, Arg2, Arg3,
- Arg4, Arg5> > (c,fun_ptr);
+ Arg4, Arg5>,5> (c,fun_ptr);
}
spawn (C &c, RT (C::*fun_ptr)(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6)) {
return internal::mem_fun_encapsulator<RT, C,
boost::tuple<Arg1, Arg2, Arg3,
- Arg4, Arg5, Arg6> > (c,fun_ptr);
+ Arg4, Arg5, Arg6>,6> (c,fun_ptr);
}
/**
spawn (const C &c, RT (C::*fun_ptr)(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6) const) {
return internal::mem_fun_encapsulator<RT, const C,
boost::tuple<Arg1, Arg2, Arg3,
- Arg4, Arg5, Arg6> > (c,fun_ptr);
+ Arg4, Arg5, Arg6>,6> (c,fun_ptr);
}
return internal::mem_fun_encapsulator<RT, C,
boost::tuple<Arg1, Arg2, Arg3,
Arg4, Arg5, Arg6,
- Arg7> > (c,fun_ptr);
+ Arg7>,7> (c,fun_ptr);
}
/**
return internal::mem_fun_encapsulator<RT, const C,
boost::tuple<Arg1, Arg2, Arg3,
Arg4, Arg5, Arg6,
- Arg7> > (c,fun_ptr);
+ Arg7>,7> (c,fun_ptr);
}
return internal::mem_fun_encapsulator<RT, C,
boost::tuple<Arg1, Arg2, Arg3,
Arg4, Arg5, Arg6,
- Arg7, Arg8> > (c,fun_ptr);
+ Arg7, Arg8>,8> (c,fun_ptr);
}
/**
return internal::mem_fun_encapsulator<RT, const C,
boost::tuple<Arg1, Arg2, Arg3,
Arg4, Arg5, Arg6,
- Arg7, Arg8> > (c,fun_ptr);
+ Arg7, Arg8>,8> (c,fun_ptr);
}
return internal::mem_fun_encapsulator<RT, C,
boost::tuple<Arg1, Arg2, Arg3,
Arg4, Arg5, Arg6,
- Arg7, Arg8, Arg9> > (c,fun_ptr);
+ Arg7, Arg8, Arg9>,9> (c,fun_ptr);
}
/**
return internal::mem_fun_encapsulator<RT, const C,
boost::tuple<Arg1, Arg2, Arg3,
Arg4, Arg5, Arg6,
- Arg7, Arg8, Arg9> > (c,fun_ptr);
+ Arg7, Arg8, Arg9>,9> (c,fun_ptr);
}
boost::tuple<Arg1, Arg2, Arg3,
Arg4, Arg5, Arg6,
Arg7, Arg8, Arg9,
- Arg10> > (c,fun_ptr);
+ Arg10>,10> (c,fun_ptr);
}
/**
boost::tuple<Arg1, Arg2, Arg3,
Arg4, Arg5, Arg6,
Arg7, Arg8, Arg9,
- Arg10> > (c,fun_ptr);
+ Arg10>,10> (c,fun_ptr);
}
inline
internal::fun_encapsulator<RT,boost::tuple<>,0>
spawn (RT (*fun_ptr)()) {
- return internal::fun_encapsulator<RT, boost::tuple<> > (fun_ptr);
+ return internal::fun_encapsulator<RT, boost::tuple<>,0> (fun_ptr);
}
inline
internal::fun_encapsulator<RT,boost::tuple<Arg1>,1>
spawn (RT (*fun_ptr)(Arg1)) {
- return internal::fun_encapsulator<RT, boost::tuple<Arg1> > (fun_ptr);
+ return internal::fun_encapsulator<RT, boost::tuple<Arg1>,1> (fun_ptr);
}
inline
internal::fun_encapsulator<RT,boost::tuple<Arg1, Arg2>,2>
spawn (RT (*fun_ptr)(Arg1,Arg2)) {
- return internal::fun_encapsulator<RT, boost::tuple<Arg1, Arg2> > (fun_ptr);
+ return internal::fun_encapsulator<RT, boost::tuple<Arg1, Arg2>,2> (fun_ptr);
}
internal::fun_encapsulator<RT,boost::tuple<Arg1, Arg2, Arg3>,3>
spawn (RT (*fun_ptr)(Arg1,Arg2,Arg3)) {
return internal::fun_encapsulator<RT,
- boost::tuple<Arg1, Arg2, Arg3> > (fun_ptr);
+ boost::tuple<Arg1, Arg2, Arg3>,3> (fun_ptr);
}
internal::fun_encapsulator<RT,boost::tuple<Arg1, Arg2, Arg3, Arg4>,4>
spawn (RT (*fun_ptr)(Arg1,Arg2,Arg3,Arg4)) {
return internal::fun_encapsulator<RT,
- boost::tuple<Arg1, Arg2, Arg3, Arg4> > (fun_ptr);
+ boost::tuple<Arg1, Arg2, Arg3, Arg4>,4> (fun_ptr);
}
spawn (RT (*fun_ptr)(Arg1,Arg2,Arg3,Arg4,Arg5)) {
return internal::fun_encapsulator<RT,
boost::tuple<Arg1, Arg2, Arg3,
- Arg4, Arg5> > (fun_ptr);
+ Arg4, Arg5>,5> (fun_ptr);
}
spawn (RT (*fun_ptr)(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6)) {
return internal::fun_encapsulator<RT,
boost::tuple<Arg1, Arg2, Arg3,
- Arg4, Arg5, Arg6> > (fun_ptr);
+ Arg4, Arg5, Arg6>,6> (fun_ptr);
}
return internal::fun_encapsulator<RT,
boost::tuple<Arg1, Arg2, Arg3,
Arg4, Arg5, Arg6,
- Arg7> > (fun_ptr);
+ Arg7>,7> (fun_ptr);
}
return internal::fun_encapsulator<RT,
boost::tuple<Arg1, Arg2, Arg3,
Arg4, Arg5, Arg6,
- Arg7, Arg8> > (fun_ptr);
+ Arg7, Arg8>,8> (fun_ptr);
}
return internal::fun_encapsulator<RT,
boost::tuple<Arg1, Arg2, Arg3,
Arg4, Arg5, Arg6,
- Arg7, Arg8, Arg9> > (fun_ptr);
+ Arg7, Arg8, Arg9>,9> (fun_ptr);
}
boost::tuple<Arg1, Arg2, Arg3,
Arg4, Arg5, Arg6,
Arg7, Arg8, Arg9,
- Arg10> > (fun_ptr);
+ Arg10>,10> (fun_ptr);
}
#else // #if (DEAL_II_USE_MT == 1)
* specify it.
*/
template <typename RT, typename ArgList,
- int length/* = boost::tuples::length<ArgList>::value*/>
+ int length>
class fun_forwarder;
/**
* specify it.
*/
template <typename RT, typename C, typename ArgList,
- int length/* = boost::tuples::length<ArgList>::value*/>
+ int length>
class mem_fun_forwarder;
}