...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Associate an object of type T
with a immediate executor of type Executor
.
template< typename Executor, typename T> immediate_executor_binder< decay_t< T >, Executor > bind_immediate_executor( const Executor & e, T && t);
Header: boost/asio/bind_immediate_executor.hpp
Convenience header: boost/asio.hpp