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