![]() |
Create an executor_work_guard
object.
template<
typename Executor>
executor_work_guard< Executor > make_work_guard(
const Executor & ex,
typename enable_if< is_executor< Executor >::value||execution::is_executor< Executor >::value >::type * = 0);