11 #ifndef ASIO_HANDLER_TYPE_HPP 12 #define ASIO_HANDLER_TYPE_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 33 template <
typename Handler,
typename Signature>
40 #if !defined(GENERATING_DOCUMENTATION) 42 template <
typename Handler,
typename Signature>
46 template <
typename Handler,
typename Signature>
50 template <
typename Handler,
typename Signature>
54 template <
typename Handler,
typename Signature>
58 template <
typename Handler,
typename Signature>
62 template <
typename Handler,
typename Signature>
66 template <
typename Handler,
typename Signature>
70 #if defined(ASIO_HAS_MOVE) 71 template <
typename Handler,
typename Signature>
74 #endif // defined(ASIO_HAS_MOVE) 76 template <
typename ReturnType,
typename Signature>
80 template <
typename ReturnType,
typename Arg1,
typename Signature>
84 template <
typename ReturnType,
typename Arg1,
typename Arg2,
typename Signature>
88 template <
typename ReturnType,
typename Arg1,
typename Arg2,
typename Arg3,
91 :
handler_type<ReturnType(*)(Arg1, Arg2, Arg3), Signature> {};
93 template <
typename ReturnType,
typename Arg1,
typename Arg2,
typename Arg3,
94 typename Arg4,
typename Signature>
96 :
handler_type<ReturnType(*)(Arg1, Arg2, Arg3, Arg4), Signature> {};
98 template <
typename ReturnType,
typename Arg1,
typename Arg2,
typename Arg3,
99 typename Arg4,
typename Arg5,
typename Signature>
100 struct handler_type<ReturnType(Arg1, Arg2, Arg3, Arg4, Arg5), Signature>
101 :
handler_type<ReturnType(*)(Arg1, Arg2, Arg3, Arg4, Arg5), Signature> {};
103 #endif // !defined(GENERATING_DOCUMENTATION) 109 #define ASIO_HANDLER_TYPE(h, sig) \ 110 typename handler_type<h, sig>::type 112 #endif // ASIO_HANDLER_TYPE_HPP
Handler type
The handler type for the specific signature.
Default handler type traits provided for all handlers.