### get_associated_immediate_executor

Helper function to obtain an object's associated executor.

    template<
        typename T,
        typename Executor>
    auto get_associated_immediate_executor(
        const T & t,
        const Executor & ex,
        constraint_t< is_executor< Executor >::value||execution::is_executor< Executor >::value >  = 0);
      » more...

    template<
        typename T,
        typename ExecutionContext>
    associated_immediate_executor< T, typenameExecutionContext::executor_type >::type get_associated_immediate_executor(
        const T & t,
        ExecutionContext & ctx,
        constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
      » more...

##### Requirements

Header: `asio/associated_immediate_executor.hpp`

Convenience header: `asio.hpp`