11 #ifndef ASIO_ASYNC_RESULT_HPP 12 #define ASIO_ASYNC_RESULT_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 29 template <
typename Handler>
56 template <
typename Handler,
typename Signature>
69 template <
typename Handler,
typename Signature>
82 #if defined(GENERATING_DOCUMENTATION) 83 # define ASIO_INITFN_RESULT_TYPE(h, sig) \ 85 #elif defined(_MSC_VER) && (_MSC_VER < 1500) 86 # define ASIO_INITFN_RESULT_TYPE(h, sig) \ 87 typename ::asio::detail::async_result_type_helper<h, sig>::type 89 # define ASIO_INITFN_RESULT_TYPE(h, sig) \ 90 typename ::asio::async_result< \ 91 typename ::asio::handler_type<h, sig>::type>::type 94 #endif // ASIO_ASYNC_RESULT_HPP async_result_init(ASIO_MOVE_ARG(Handler) orig_handler)
An interface for customising the behaviour of an initiating function.
void type
The return type of the initiating function.
asio::basic_streambuf< Allocator > CompletionCondition ASIO_MOVE_ARG(ReadHandler) handler)
handler_type< Handler, Signature >::type handler
#define ASIO_MOVE_CAST(type)
async_result< typename handler_type< Handler, Signature >::type >::type type
async_result< typename handler_type< Handler, Signature >::type > result
Handler type
The handler type for the specific signature.
async_result(Handler &)
Construct an async result from a given handler.