![]() |
Helper template to deduce the handler type from a CompletionToken, capture
a local copy of the handler, and then create an async_result
for the handler.
template<
typename CompletionToken,
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