boost::corosio::basic_io_context::find_service

Return a pointer to the service of type T, or nullptr.

Synopsis

Declared in <boost/capy/ex/execution_context.hpp>

template<class T>
T*
find_service() const noexcept;

Thread Safety

Thread‐safe.

Return Value

A pointer to the service, or nullptr if not present.

Template Parameters

Name Description

T

The type of service to find.

Created with MrDocs