Home | History | Annotate | Download | only in asio

Lines Matching defs:handler

24  * This template may be specialised for user-defined handler types.
26 template <typename Handler>
33 /// Construct an async result from a given handler.
36 * to initialise some state associated with the handler, which is then
39 explicit async_result(Handler&)
51 // Helper template to deduce the true type of a handler, capture a local copy
52 // of the handler, and then create an async_result for the handler.
53 template <typename Handler, typename Signature>
56 explicit async_result_init(ASIO_MOVE_ARG(Handler) orig_handler)
57 : handler(ASIO_MOVE_CAST(Handler)(orig_handler)),
58 result(handler)
62 typename handler_type<Handler, Signature>::type handler;
63 async_result<typename handler_type<Handler, Signature>::type> result;
66 template <typename Handler, typename Signature>
70 typename handler_type<Handler, Signature>::type