11 #ifndef ASIO_DETAIL_HANDLER_INVOKE_HELPERS_HPP 12 #define ASIO_DETAIL_HANDLER_INVOKE_HELPERS_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 29 template <
typename Function,
typename Context>
30 inline void invoke(Function&
function, Context& context)
32 #if !defined(ASIO_HAS_HANDLER_HOOKS) 33 Function tmp(
function);
41 template <
typename Function,
typename Context>
42 inline void invoke(
const Function&
function, Context& context)
44 #if !defined(ASIO_HAS_HANDLER_HOOKS) 45 Function tmp(
function);
57 #endif // ASIO_DETAIL_HANDLER_INVOKE_HELPERS_HPP
void invoke(Function &function, Context &context)
void asio_handler_invoke(Function &function,...)
Default handler invocation hook used for non-const function objects.
void asio_handler_invoke(Function f, handler_priority_queue::wrapped_handler< Handler > *h)