...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
(Deprecated: Use two-parameter version of async_result
.)
An interface for customising the behaviour of an initiating function.
template< typename Handler> class async_result< Handler >
Name |
Description |
---|---|
The return type of the initiating function. |
Name |
Description |
---|---|
Construct an async result from a given handler. |
|
Obtain the value to be returned from the initiating function. |
This template may be specialised for user-defined handler types.
Header: boost/asio/async_result.hpp
Convenience header: boost/asio.hpp