Task<RT>
new_task (RT (*fun_ptr)())
{
- return new_task<RT>(std_cxx11::function<RT ()>(fun_ptr));
+ return new_task (std_cxx11::function<RT ()>(fun_ptr));
}
typename identity<C>::type &c)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::ref(c)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::ref(c))));
}
#ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
const typename identity<C>::type &c)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::cref(c)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::cref(c))));
}
#endif
typename identity<Arg1>::type arg1)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr,
- internal::maybe_make_ref<Arg1>::act(arg1)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr,
+ internal::maybe_make_ref<Arg1>::act(arg1))));
}
typename identity<Arg1>::type arg1)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
- internal::maybe_make_ref<Arg1>::act(arg1)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1))));
}
#ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
typename identity<Arg1>::type arg1)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
- internal::maybe_make_ref<Arg1>::act(arg1)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1))));
}
#endif
typename identity<Arg2>::type arg2)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr,
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr,
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2))));
}
typename identity<Arg2>::type arg2)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2))));
}
#ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
typename identity<Arg2>::type arg2)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2))));
}
#endif
typename identity<Arg3>::type arg3)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr,
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr,
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3))));
}
typename identity<Arg3>::type arg3)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3))));
}
#ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
typename identity<Arg3>::type arg3)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3))));
}
#endif
typename identity<Arg4>::type arg4)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr,
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr,
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4))));
}
typename identity<Arg4>::type arg4)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4))));
}
#ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
typename identity<Arg4>::type arg4)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4))));
}
#endif
typename identity<Arg5>::type arg5)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr,
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr,
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5))));
}
typename identity<Arg5>::type arg5)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5))));
}
#ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
typename identity<Arg5>::type arg5)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5))));
}
#endif
typename identity<Arg6>::type arg6)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr,
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5),
- internal::maybe_make_ref<Arg6>::act(arg6)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr,
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5),
+ internal::maybe_make_ref<Arg6>::act(arg6))));
}
typename identity<Arg6>::type arg6)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5),
- internal::maybe_make_ref<Arg6>::act(arg6)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5),
+ internal::maybe_make_ref<Arg6>::act(arg6))));
}
#ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
typename identity<Arg6>::type arg6)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5),
- internal::maybe_make_ref<Arg6>::act(arg6)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5),
+ internal::maybe_make_ref<Arg6>::act(arg6))));
}
#endif
typename identity<Arg7>::type arg7)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr,
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5),
- internal::maybe_make_ref<Arg6>::act(arg6),
- internal::maybe_make_ref<Arg7>::act(arg7)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr,
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5),
+ internal::maybe_make_ref<Arg6>::act(arg6),
+ internal::maybe_make_ref<Arg7>::act(arg7))));
}
typename identity<Arg7>::type arg7)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5),
- internal::maybe_make_ref<Arg6>::act(arg6),
- internal::maybe_make_ref<Arg7>::act(arg7)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5),
+ internal::maybe_make_ref<Arg6>::act(arg6),
+ internal::maybe_make_ref<Arg7>::act(arg7))));
}
#ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
typename identity<Arg7>::type arg7)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5),
- internal::maybe_make_ref<Arg6>::act(arg6),
- internal::maybe_make_ref<Arg7>::act(arg7)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5),
+ internal::maybe_make_ref<Arg6>::act(arg6),
+ internal::maybe_make_ref<Arg7>::act(arg7))));
}
#endif
typename identity<Arg8>::type arg8)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr,
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5),
- internal::maybe_make_ref<Arg6>::act(arg6),
- internal::maybe_make_ref<Arg7>::act(arg7),
- internal::maybe_make_ref<Arg8>::act(arg8)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr,
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5),
+ internal::maybe_make_ref<Arg6>::act(arg6),
+ internal::maybe_make_ref<Arg7>::act(arg7),
+ internal::maybe_make_ref<Arg8>::act(arg8))));
}
typename identity<Arg8>::type arg8)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5),
- internal::maybe_make_ref<Arg6>::act(arg6),
- internal::maybe_make_ref<Arg7>::act(arg7),
- internal::maybe_make_ref<Arg8>::act(arg8)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5),
+ internal::maybe_make_ref<Arg6>::act(arg6),
+ internal::maybe_make_ref<Arg7>::act(arg7),
+ internal::maybe_make_ref<Arg8>::act(arg8))));
}
#ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
typename identity<Arg8>::type arg8)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5),
- internal::maybe_make_ref<Arg6>::act(arg6),
- internal::maybe_make_ref<Arg7>::act(arg7),
- internal::maybe_make_ref<Arg8>::act(arg8)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5),
+ internal::maybe_make_ref<Arg6>::act(arg6),
+ internal::maybe_make_ref<Arg7>::act(arg7),
+ internal::maybe_make_ref<Arg8>::act(arg8))));
}
#endif
typename identity<Arg9>::type arg9)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr,
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5),
- internal::maybe_make_ref<Arg6>::act(arg6),
- internal::maybe_make_ref<Arg7>::act(arg7),
- internal::maybe_make_ref<Arg8>::act(arg8),
- internal::maybe_make_ref<Arg9>::act(arg9)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr,
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5),
+ internal::maybe_make_ref<Arg6>::act(arg6),
+ internal::maybe_make_ref<Arg7>::act(arg7),
+ internal::maybe_make_ref<Arg8>::act(arg8),
+ internal::maybe_make_ref<Arg9>::act(arg9))));
}
typename identity<Arg9>::type arg9)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5),
- internal::maybe_make_ref<Arg6>::act(arg6),
- internal::maybe_make_ref<Arg7>::act(arg7),
- internal::maybe_make_ref<Arg8>::act(arg8),
- internal::maybe_make_ref<Arg9>::act(arg9)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5),
+ internal::maybe_make_ref<Arg6>::act(arg6),
+ internal::maybe_make_ref<Arg7>::act(arg7),
+ internal::maybe_make_ref<Arg8>::act(arg8),
+ internal::maybe_make_ref<Arg9>::act(arg9))));
}
#ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
typename identity<Arg9>::type arg9)
{
return
- new_task<RT>
- (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
- internal::maybe_make_ref<Arg1>::act(arg1),
- internal::maybe_make_ref<Arg2>::act(arg2),
- internal::maybe_make_ref<Arg3>::act(arg3),
- internal::maybe_make_ref<Arg4>::act(arg4),
- internal::maybe_make_ref<Arg5>::act(arg5),
- internal::maybe_make_ref<Arg6>::act(arg6),
- internal::maybe_make_ref<Arg7>::act(arg7),
- internal::maybe_make_ref<Arg8>::act(arg8),
- internal::maybe_make_ref<Arg9>::act(arg9)));
+ new_task (std_cxx11::function<RT ()>
+ (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
+ internal::maybe_make_ref<Arg1>::act(arg1),
+ internal::maybe_make_ref<Arg2>::act(arg2),
+ internal::maybe_make_ref<Arg3>::act(arg3),
+ internal::maybe_make_ref<Arg4>::act(arg4),
+ internal::maybe_make_ref<Arg5>::act(arg5),
+ internal::maybe_make_ref<Arg6>::act(arg6),
+ internal::maybe_make_ref<Arg7>::act(arg7),
+ internal::maybe_make_ref<Arg8>::act(arg8),
+ internal::maybe_make_ref<Arg9>::act(arg9))));
}
#endif