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 an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

handler_type

Default handler type traits provided for all handlers.

template<
    typename Handler,
    typename Signature>
struct handler_type
Types

Name

Description

type

The handler type for the specific signature.

The handler_type traits class is used for determining the concrete handler type to be used for an asynchronous operation. It allows the handler type to be determined at the point where the specific completion handler signature is known.

This template may be specialised for user-defined handler types.

Requirements

Header: boost/asio/handler_type.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext