asio C++ library

PrevUpHomeNext

get_associated_executor

Helper function to obtain an object's associated executor.

template<
    typename T>
associated_executor< T >::type get_associated_executor(
    const T & t);
  » more...

template<
    typename T,
    typename Executor>
associated_executor< T, Executor >::type get_associated_executor(
    const T & t,
    const Executor & ex,
    typename enable_if< is_executor< Executor >::value >::type *  = 0);
  » more...

template<
    typename T,
    typename ExecutionContext>
associated_executor< T, typename ExecutionContext::executor_type >::type get_associated_executor(
    const T & t,
    ExecutionContext & ctx,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 0);
  » more...
Requirements

Header: asio/associated_executor.hpp

Convenience header: asio.hpp


PrevUpHomeNext