typename identity<C>::type &c,
typename identity<Args>::type... args)
{
+ // NOLINTNEXTLINE(modernize-avoid-bind) silence clang-tidy
return new_thread(std::function<RT()>(std::bind(
fun_ptr, std::ref(c), internal::maybe_make_ref<Args>::act(args)...)));
}
typename identity<const C>::type &c,
typename identity<Args>::type... args)
{
+ // NOLINTNEXTLINE(modernize-avoid-bind) silence clang-tidy
return new_thread(std::function<RT()>(std::bind(
fun_ptr, std::cref(c), internal::maybe_make_ref<Args>::act(args)...)));
}
typename identity<C>::type &c,
typename identity<Args>::type... args)
{
+ // NOLINTNEXTLINE(modernize-avoid-bind) silence clang-tidy
return new_task(std::function<RT()>(std::bind(
fun_ptr, std::ref(c), internal::maybe_make_ref<Args>::act(args)...)));
}
typename identity<const C>::type &c,
typename identity<Args>::type... args)
{
+ // NOLINTNEXTLINE(modernize-avoid-bind) silence clang-tidy
return new_task(std::function<RT()>(std::bind(
fun_ptr, std::cref(c), internal::maybe_make_ref<Args>::act(args)...)));
}