asio C++ library

PrevUpHomeNext

get_associated_executor (3 of 3 overloads)

Helper function to obtain an object's associated executor.

template<
    typename T,
    typename ExecutionContext>
associated_executor< T, typenameExecutionContext::executor_type >::type get_associated_executor(
    const T & t,
    ExecutionContext & ctx,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
Return Value

associated_executor<T, typename ExecutionContext::executor_type>::get(t, ctx.get_executor())


PrevUpHomeNext