Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 0d33bc146b.
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>
auto get_associated_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_executor< T, typenameExecutionContext::executor_type >::type get_associated_executor(
    const T & t,
    ExecutionContext & ctx,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
  » more...
Requirements

Header: boost/asio/associated_executor.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext