Helper template to deduce the real type of a handler, capture a local copy
of the handler, and then create an async_result
for the handler.
template< typename Handler, typename Signature> struct async_completion
Name |
Description |
---|---|
The real handler type to be used for the asynchronous operation. |
Name |
Description |
---|---|
Constructor. |
Name |
Description |
---|---|
A copy of, or reference to, a real handler object. |
|
The result of the asynchronous operation's initiating function. |
Header: asio/async_result.hpp
Convenience header: asio.hpp