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 an older version of Boost and was released in 2021. The current version is 1.89.0.
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 constraint< is_executor< Executor >::value||execution::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 constraint< is_convertible< ExecutionContext &, execution_context & >::value >::type = 0);
» more...
Header: boost/asio/associated_executor.hpp
Convenience header: boost/asio.hpp