...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
template< typename Service> bool has_service( execution_context & e);
This function is used to determine whether the execution_context
contains a service object corresponding to the given service type.
The execution_context
object that owns the service.
A boolean indicating whether the execution_context
contains the service.
Header: boost/asio/impl/execution_context.hpp
Convenience header: boost/asio.hpp