* for each number of arguments.
*/
template <typename RT, typename ArgList,
- int length = std_cxx0x::tuples::length<ArgList>::value>
+ int length = std_cxx0x::tuple_size<ArgList>::value>
struct fun_ptr_helper;
template <typename RT, typename ArgList>
struct fun_ptr_helper<RT, ArgList, 1>
{
- typedef RT (type) (typename std_cxx0x::tuples::element<0,ArgList>::type);
+ typedef RT (type) (typename std_cxx0x::tuple_element<0,ArgList>::type);
};
template <typename RT, typename ArgList>
struct fun_ptr_helper<RT, ArgList, 2>
{
- typedef RT (type) (typename std_cxx0x::tuples::element<0,ArgList>::type,
- typename std_cxx0x::tuples::element<1,ArgList>::type);
+ typedef RT (type) (typename std_cxx0x::tuple_element<0,ArgList>::type,
+ typename std_cxx0x::tuple_element<1,ArgList>::type);
};
template <typename RT, typename ArgList>
struct fun_ptr_helper<RT, ArgList, 3>
{
- typedef RT (type) (typename std_cxx0x::tuples::element<0,ArgList>::type,
- typename std_cxx0x::tuples::element<1,ArgList>::type,
- typename std_cxx0x::tuples::element<2,ArgList>::type);
+ typedef RT (type) (typename std_cxx0x::tuple_element<0,ArgList>::type,
+ typename std_cxx0x::tuple_element<1,ArgList>::type,
+ typename std_cxx0x::tuple_element<2,ArgList>::type);
};
template <typename RT, typename ArgList>
struct fun_ptr_helper<RT, ArgList, 4>
{
- typedef RT (type) (typename std_cxx0x::tuples::element<0,ArgList>::type,
- typename std_cxx0x::tuples::element<1,ArgList>::type,
- typename std_cxx0x::tuples::element<2,ArgList>::type,
- typename std_cxx0x::tuples::element<3,ArgList>::type);
+ typedef RT (type) (typename std_cxx0x::tuple_element<0,ArgList>::type,
+ typename std_cxx0x::tuple_element<1,ArgList>::type,
+ typename std_cxx0x::tuple_element<2,ArgList>::type,
+ typename std_cxx0x::tuple_element<3,ArgList>::type);
};
template <typename RT, typename ArgList>
struct fun_ptr_helper<RT, ArgList, 5>
{
- typedef RT (type) (typename std_cxx0x::tuples::element<0,ArgList>::type,
- typename std_cxx0x::tuples::element<1,ArgList>::type,
- typename std_cxx0x::tuples::element<2,ArgList>::type,
- typename std_cxx0x::tuples::element<3,ArgList>::type,
- typename std_cxx0x::tuples::element<4,ArgList>::type);
+ typedef RT (type) (typename std_cxx0x::tuple_element<0,ArgList>::type,
+ typename std_cxx0x::tuple_element<1,ArgList>::type,
+ typename std_cxx0x::tuple_element<2,ArgList>::type,
+ typename std_cxx0x::tuple_element<3,ArgList>::type,
+ typename std_cxx0x::tuple_element<4,ArgList>::type);
};
template <typename RT, typename ArgList>
struct fun_ptr_helper<RT, ArgList, 6>
{
- typedef RT (type) (typename std_cxx0x::tuples::element<0,ArgList>::type,
- typename std_cxx0x::tuples::element<1,ArgList>::type,
- typename std_cxx0x::tuples::element<2,ArgList>::type,
- typename std_cxx0x::tuples::element<3,ArgList>::type,
- typename std_cxx0x::tuples::element<4,ArgList>::type,
- typename std_cxx0x::tuples::element<5,ArgList>::type);
+ typedef RT (type) (typename std_cxx0x::tuple_element<0,ArgList>::type,
+ typename std_cxx0x::tuple_element<1,ArgList>::type,
+ typename std_cxx0x::tuple_element<2,ArgList>::type,
+ typename std_cxx0x::tuple_element<3,ArgList>::type,
+ typename std_cxx0x::tuple_element<4,ArgList>::type,
+ typename std_cxx0x::tuple_element<5,ArgList>::type);
};
template <typename RT, typename ArgList>
struct fun_ptr_helper<RT, ArgList, 7>
{
- typedef RT (type) (typename std_cxx0x::tuples::element<0,ArgList>::type,
- typename std_cxx0x::tuples::element<1,ArgList>::type,
- typename std_cxx0x::tuples::element<2,ArgList>::type,
- typename std_cxx0x::tuples::element<3,ArgList>::type,
- typename std_cxx0x::tuples::element<4,ArgList>::type,
- typename std_cxx0x::tuples::element<5,ArgList>::type,
- typename std_cxx0x::tuples::element<6,ArgList>::type);
+ typedef RT (type) (typename std_cxx0x::tuple_element<0,ArgList>::type,
+ typename std_cxx0x::tuple_element<1,ArgList>::type,
+ typename std_cxx0x::tuple_element<2,ArgList>::type,
+ typename std_cxx0x::tuple_element<3,ArgList>::type,
+ typename std_cxx0x::tuple_element<4,ArgList>::type,
+ typename std_cxx0x::tuple_element<5,ArgList>::type,
+ typename std_cxx0x::tuple_element<6,ArgList>::type);
};
template <typename RT, typename ArgList>
struct fun_ptr_helper<RT, ArgList, 8>
{
- typedef RT (type) (typename std_cxx0x::tuples::element<0,ArgList>::type,
- typename std_cxx0x::tuples::element<1,ArgList>::type,
- typename std_cxx0x::tuples::element<2,ArgList>::type,
- typename std_cxx0x::tuples::element<3,ArgList>::type,
- typename std_cxx0x::tuples::element<4,ArgList>::type,
- typename std_cxx0x::tuples::element<5,ArgList>::type,
- typename std_cxx0x::tuples::element<6,ArgList>::type,
- typename std_cxx0x::tuples::element<7,ArgList>::type);
+ typedef RT (type) (typename std_cxx0x::tuple_element<0,ArgList>::type,
+ typename std_cxx0x::tuple_element<1,ArgList>::type,
+ typename std_cxx0x::tuple_element<2,ArgList>::type,
+ typename std_cxx0x::tuple_element<3,ArgList>::type,
+ typename std_cxx0x::tuple_element<4,ArgList>::type,
+ typename std_cxx0x::tuple_element<5,ArgList>::type,
+ typename std_cxx0x::tuple_element<6,ArgList>::type,
+ typename std_cxx0x::tuple_element<7,ArgList>::type);
};
template <typename RT, typename ArgList>
struct fun_ptr_helper<RT, ArgList, 9>
{
- typedef RT (type) (typename std_cxx0x::tuples::element<0,ArgList>::type,
- typename std_cxx0x::tuples::element<1,ArgList>::type,
- typename std_cxx0x::tuples::element<2,ArgList>::type,
- typename std_cxx0x::tuples::element<3,ArgList>::type,
- typename std_cxx0x::tuples::element<4,ArgList>::type,
- typename std_cxx0x::tuples::element<5,ArgList>::type,
- typename std_cxx0x::tuples::element<6,ArgList>::type,
- typename std_cxx0x::tuples::element<7,ArgList>::type,
- typename std_cxx0x::tuples::element<8,ArgList>::type);
+ typedef RT (type) (typename std_cxx0x::tuple_element<0,ArgList>::type,
+ typename std_cxx0x::tuple_element<1,ArgList>::type,
+ typename std_cxx0x::tuple_element<2,ArgList>::type,
+ typename std_cxx0x::tuple_element<3,ArgList>::type,
+ typename std_cxx0x::tuple_element<4,ArgList>::type,
+ typename std_cxx0x::tuple_element<5,ArgList>::type,
+ typename std_cxx0x::tuple_element<6,ArgList>::type,
+ typename std_cxx0x::tuple_element<7,ArgList>::type,
+ typename std_cxx0x::tuple_element<8,ArgList>::type);
};
template <typename RT, typename ArgList>
struct fun_ptr_helper<RT, ArgList, 10>
{
- typedef RT (type) (typename std_cxx0x::tuples::element<0,ArgList>::type,
- typename std_cxx0x::tuples::element<1,ArgList>::type,
- typename std_cxx0x::tuples::element<2,ArgList>::type,
- typename std_cxx0x::tuples::element<3,ArgList>::type,
- typename std_cxx0x::tuples::element<4,ArgList>::type,
- typename std_cxx0x::tuples::element<5,ArgList>::type,
- typename std_cxx0x::tuples::element<6,ArgList>::type,
- typename std_cxx0x::tuples::element<7,ArgList>::type,
- typename std_cxx0x::tuples::element<8,ArgList>::type,
- typename std_cxx0x::tuples::element<9,ArgList>::type);
+ typedef RT (type) (typename std_cxx0x::tuple_element<0,ArgList>::type,
+ typename std_cxx0x::tuple_element<1,ArgList>::type,
+ typename std_cxx0x::tuple_element<2,ArgList>::type,
+ typename std_cxx0x::tuple_element<3,ArgList>::type,
+ typename std_cxx0x::tuple_element<4,ArgList>::type,
+ typename std_cxx0x::tuple_element<5,ArgList>::type,
+ typename std_cxx0x::tuple_element<6,ArgList>::type,
+ typename std_cxx0x::tuple_element<7,ArgList>::type,
+ typename std_cxx0x::tuple_element<8,ArgList>::type,
+ typename std_cxx0x::tuple_element<9,ArgList>::type);
};
inline
Thread<RT>
- operator() (typename std_cxx0x::tuples::element<0,ArgList>::type arg1)
+ operator() (typename std_cxx0x::tuple_element<0,ArgList>::type arg1)
{
return
ThreadStarter<RT>::start_thread
(std_cxx0x::bind (function,
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<0,ArgList>::type>::act(arg1)));
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<0,ArgList>::type>::act(arg1)));
}
private:
inline
Thread<RT>
- operator() (typename std_cxx0x::tuples::element<0,ArgList>::type arg1,
- typename std_cxx0x::tuples::element<1,ArgList>::type arg2)
+ operator() (typename std_cxx0x::tuple_element<0,ArgList>::type arg1,
+ typename std_cxx0x::tuple_element<1,ArgList>::type arg2)
{
return
ThreadStarter<RT>::start_thread
(std_cxx0x::bind (function,
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<0,ArgList>::type>::act(arg1),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<1,ArgList>::type>::act(arg2)));
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<0,ArgList>::type>::act(arg1),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<1,ArgList>::type>::act(arg2)));
}
private:
inline
Thread<RT>
- operator() (typename std_cxx0x::tuples::element<0,ArgList>::type arg1,
- typename std_cxx0x::tuples::element<1,ArgList>::type arg2,
- typename std_cxx0x::tuples::element<2,ArgList>::type arg3)
+ operator() (typename std_cxx0x::tuple_element<0,ArgList>::type arg1,
+ typename std_cxx0x::tuple_element<1,ArgList>::type arg2,
+ typename std_cxx0x::tuple_element<2,ArgList>::type arg3)
{
return
ThreadStarter<RT>::start_thread
(std_cxx0x::bind (function,
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<0,ArgList>::type>::act(arg1),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<1,ArgList>::type>::act(arg2),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<2,ArgList>::type>::act(arg3)));
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<0,ArgList>::type>::act(arg1),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<1,ArgList>::type>::act(arg2),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<2,ArgList>::type>::act(arg3)));
}
private:
inline
Thread<RT>
- operator() (typename std_cxx0x::tuples::element<0,ArgList>::type arg1,
- typename std_cxx0x::tuples::element<1,ArgList>::type arg2,
- typename std_cxx0x::tuples::element<2,ArgList>::type arg3,
- typename std_cxx0x::tuples::element<3,ArgList>::type arg4)
+ operator() (typename std_cxx0x::tuple_element<0,ArgList>::type arg1,
+ typename std_cxx0x::tuple_element<1,ArgList>::type arg2,
+ typename std_cxx0x::tuple_element<2,ArgList>::type arg3,
+ typename std_cxx0x::tuple_element<3,ArgList>::type arg4)
{
return
ThreadStarter<RT>::start_thread
(std_cxx0x::bind (function,
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<0,ArgList>::type>::act(arg1),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<1,ArgList>::type>::act(arg2),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<2,ArgList>::type>::act(arg3),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<3,ArgList>::type>::act(arg4)));
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<0,ArgList>::type>::act(arg1),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<1,ArgList>::type>::act(arg2),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<2,ArgList>::type>::act(arg3),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<3,ArgList>::type>::act(arg4)));
}
private:
inline
Thread<RT>
- operator() (typename std_cxx0x::tuples::element<0,ArgList>::type arg1,
- typename std_cxx0x::tuples::element<1,ArgList>::type arg2,
- typename std_cxx0x::tuples::element<2,ArgList>::type arg3,
- typename std_cxx0x::tuples::element<3,ArgList>::type arg4,
- typename std_cxx0x::tuples::element<4,ArgList>::type arg5)
+ operator() (typename std_cxx0x::tuple_element<0,ArgList>::type arg1,
+ typename std_cxx0x::tuple_element<1,ArgList>::type arg2,
+ typename std_cxx0x::tuple_element<2,ArgList>::type arg3,
+ typename std_cxx0x::tuple_element<3,ArgList>::type arg4,
+ typename std_cxx0x::tuple_element<4,ArgList>::type arg5)
{
return
ThreadStarter<RT>::start_thread
(std_cxx0x::bind (function,
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<0,ArgList>::type>::act(arg1),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<1,ArgList>::type>::act(arg2),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<2,ArgList>::type>::act(arg3),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<3,ArgList>::type>::act(arg4),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<4,ArgList>::type>::act(arg5)));
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<0,ArgList>::type>::act(arg1),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<1,ArgList>::type>::act(arg2),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<2,ArgList>::type>::act(arg3),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<3,ArgList>::type>::act(arg4),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<4,ArgList>::type>::act(arg5)));
}
private:
inline
Thread<RT>
- operator() (typename std_cxx0x::tuples::element<0,ArgList>::type arg1,
- typename std_cxx0x::tuples::element<1,ArgList>::type arg2,
- typename std_cxx0x::tuples::element<2,ArgList>::type arg3,
- typename std_cxx0x::tuples::element<3,ArgList>::type arg4,
- typename std_cxx0x::tuples::element<4,ArgList>::type arg5,
- typename std_cxx0x::tuples::element<5,ArgList>::type arg6)
+ operator() (typename std_cxx0x::tuple_element<0,ArgList>::type arg1,
+ typename std_cxx0x::tuple_element<1,ArgList>::type arg2,
+ typename std_cxx0x::tuple_element<2,ArgList>::type arg3,
+ typename std_cxx0x::tuple_element<3,ArgList>::type arg4,
+ typename std_cxx0x::tuple_element<4,ArgList>::type arg5,
+ typename std_cxx0x::tuple_element<5,ArgList>::type arg6)
{
return
ThreadStarter<RT>::start_thread
(std_cxx0x::bind (function,
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<0,ArgList>::type>::act(arg1),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<1,ArgList>::type>::act(arg2),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<2,ArgList>::type>::act(arg3),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<3,ArgList>::type>::act(arg4),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<4,ArgList>::type>::act(arg5),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<5,ArgList>::type>::act(arg6)));
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<0,ArgList>::type>::act(arg1),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<1,ArgList>::type>::act(arg2),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<2,ArgList>::type>::act(arg3),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<3,ArgList>::type>::act(arg4),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<4,ArgList>::type>::act(arg5),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<5,ArgList>::type>::act(arg6)));
}
private:
inline
Thread<RT>
- operator() (typename std_cxx0x::tuples::element<0,ArgList>::type arg1,
- typename std_cxx0x::tuples::element<1,ArgList>::type arg2,
- typename std_cxx0x::tuples::element<2,ArgList>::type arg3,
- typename std_cxx0x::tuples::element<3,ArgList>::type arg4,
- typename std_cxx0x::tuples::element<4,ArgList>::type arg5,
- typename std_cxx0x::tuples::element<5,ArgList>::type arg6,
- typename std_cxx0x::tuples::element<6,ArgList>::type arg7)
+ operator() (typename std_cxx0x::tuple_element<0,ArgList>::type arg1,
+ typename std_cxx0x::tuple_element<1,ArgList>::type arg2,
+ typename std_cxx0x::tuple_element<2,ArgList>::type arg3,
+ typename std_cxx0x::tuple_element<3,ArgList>::type arg4,
+ typename std_cxx0x::tuple_element<4,ArgList>::type arg5,
+ typename std_cxx0x::tuple_element<5,ArgList>::type arg6,
+ typename std_cxx0x::tuple_element<6,ArgList>::type arg7)
{
return
ThreadStarter<RT>::start_thread
(std_cxx0x::bind (function,
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<0,ArgList>::type>::act(arg1),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<1,ArgList>::type>::act(arg2),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<2,ArgList>::type>::act(arg3),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<3,ArgList>::type>::act(arg4),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<4,ArgList>::type>::act(arg5),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<5,ArgList>::type>::act(arg6),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<6,ArgList>::type>::act(arg7)));
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<0,ArgList>::type>::act(arg1),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<1,ArgList>::type>::act(arg2),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<2,ArgList>::type>::act(arg3),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<3,ArgList>::type>::act(arg4),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<4,ArgList>::type>::act(arg5),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<5,ArgList>::type>::act(arg6),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<6,ArgList>::type>::act(arg7)));
}
private:
inline
Thread<RT>
- operator() (typename std_cxx0x::tuples::element<0,ArgList>::type arg1,
- typename std_cxx0x::tuples::element<1,ArgList>::type arg2,
- typename std_cxx0x::tuples::element<2,ArgList>::type arg3,
- typename std_cxx0x::tuples::element<3,ArgList>::type arg4,
- typename std_cxx0x::tuples::element<4,ArgList>::type arg5,
- typename std_cxx0x::tuples::element<5,ArgList>::type arg6,
- typename std_cxx0x::tuples::element<6,ArgList>::type arg7,
- typename std_cxx0x::tuples::element<7,ArgList>::type arg8)
+ operator() (typename std_cxx0x::tuple_element<0,ArgList>::type arg1,
+ typename std_cxx0x::tuple_element<1,ArgList>::type arg2,
+ typename std_cxx0x::tuple_element<2,ArgList>::type arg3,
+ typename std_cxx0x::tuple_element<3,ArgList>::type arg4,
+ typename std_cxx0x::tuple_element<4,ArgList>::type arg5,
+ typename std_cxx0x::tuple_element<5,ArgList>::type arg6,
+ typename std_cxx0x::tuple_element<6,ArgList>::type arg7,
+ typename std_cxx0x::tuple_element<7,ArgList>::type arg8)
{
return
ThreadStarter<RT>::start_thread
(std_cxx0x::bind (function,
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<0,ArgList>::type>::act(arg1),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<1,ArgList>::type>::act(arg2),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<2,ArgList>::type>::act(arg3),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<3,ArgList>::type>::act(arg4),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<4,ArgList>::type>::act(arg5),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<5,ArgList>::type>::act(arg6),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<6,ArgList>::type>::act(arg7),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<7,ArgList>::type>::act(arg8)));
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<0,ArgList>::type>::act(arg1),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<1,ArgList>::type>::act(arg2),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<2,ArgList>::type>::act(arg3),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<3,ArgList>::type>::act(arg4),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<4,ArgList>::type>::act(arg5),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<5,ArgList>::type>::act(arg6),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<6,ArgList>::type>::act(arg7),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<7,ArgList>::type>::act(arg8)));
}
private:
inline
Thread<RT>
- operator() (typename std_cxx0x::tuples::element<0,ArgList>::type arg1,
- typename std_cxx0x::tuples::element<1,ArgList>::type arg2,
- typename std_cxx0x::tuples::element<2,ArgList>::type arg3,
- typename std_cxx0x::tuples::element<3,ArgList>::type arg4,
- typename std_cxx0x::tuples::element<4,ArgList>::type arg5,
- typename std_cxx0x::tuples::element<5,ArgList>::type arg6,
- typename std_cxx0x::tuples::element<6,ArgList>::type arg7,
- typename std_cxx0x::tuples::element<7,ArgList>::type arg8,
- typename std_cxx0x::tuples::element<8,ArgList>::type arg9)
+ operator() (typename std_cxx0x::tuple_element<0,ArgList>::type arg1,
+ typename std_cxx0x::tuple_element<1,ArgList>::type arg2,
+ typename std_cxx0x::tuple_element<2,ArgList>::type arg3,
+ typename std_cxx0x::tuple_element<3,ArgList>::type arg4,
+ typename std_cxx0x::tuple_element<4,ArgList>::type arg5,
+ typename std_cxx0x::tuple_element<5,ArgList>::type arg6,
+ typename std_cxx0x::tuple_element<6,ArgList>::type arg7,
+ typename std_cxx0x::tuple_element<7,ArgList>::type arg8,
+ typename std_cxx0x::tuple_element<8,ArgList>::type arg9)
{
return
ThreadStarter<RT>::start_thread
(std_cxx0x::bind (function,
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<0,ArgList>::type>::act(arg1),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<1,ArgList>::type>::act(arg2),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<2,ArgList>::type>::act(arg3),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<3,ArgList>::type>::act(arg4),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<4,ArgList>::type>::act(arg5),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<5,ArgList>::type>::act(arg6),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<6,ArgList>::type>::act(arg7),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<7,ArgList>::type>::act(arg8),
- internal::maybe_make_ref<typename std_cxx0x::tuples::element<8,ArgList>::type>::act(arg9)));
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<0,ArgList>::type>::act(arg1),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<1,ArgList>::type>::act(arg2),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<2,ArgList>::type>::act(arg3),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<3,ArgList>::type>::act(arg4),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<4,ArgList>::type>::act(arg5),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<5,ArgList>::type>::act(arg6),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<6,ArgList>::type>::act(arg7),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<7,ArgList>::type>::act(arg8),
+ internal::maybe_make_ref<typename std_cxx0x::tuple_element<8,ArgList>::type>::act(arg9)));
}
private: