asio C++ library

PrevUpHomeNext

make_work_guard (5 of 5 overloads)

Create an executor_work_guard object.

template<
    typename T,
    typename ExecutionContext>
executor_work_guard< typename associated_executor< T, typename ExecutionContext::executor_type >::type > make_work_guard(
    const T & t,
    ExecutionContext & ctx,
    typename enable_if< !is_executor< T >::value &&!execution::is_executor< T >::value &&!is_convertible< T &, execution_context & >::value &&is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 0);

PrevUpHomeNext