11 #ifndef ASIO_DETAIL_WIN_IOCP_OVERLAPPED_OP_HPP 12 #define ASIO_DETAIL_WIN_IOCP_OVERLAPPED_OP_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 20 #if defined(ASIO_HAS_IOCP) 35 template <
typename Handler>
36 class win_iocp_overlapped_op :
public operation 41 win_iocp_overlapped_op(Handler& handler)
42 :
operation(&win_iocp_overlapped_op::do_complete),
51 win_iocp_overlapped_op* o(static_cast<win_iocp_overlapped_op*>(base));
52 ptr p = { asio::detail::addressof(o->handler_), o, o };
62 detail::binder2<Handler, asio::error_code, std::size_t>
63 handler(o->handler_, ec, bytes_transferred);
64 p.h = asio::detail::addressof(handler.handler_);
86 #endif // defined(ASIO_HAS_IOCP) 88 #endif // ASIO_DETAIL_WIN_IOCP_OVERLAPPED_OP_HPP
#define ASIO_HANDLER_INVOCATION_END
asio::basic_streambuf< Allocator > & b
null_fenced_block fenced_block
class task_io_service io_service_impl
void invoke(Function &function, Context &context)
#define ASIO_HANDLER_INVOCATION_BEGIN(args)
Class to represent an error code value.
task_io_service_operation operation
#define ASIO_DEFINE_HANDLER_PTR(op)
#define ASIO_HANDLER_COMPLETION(args)
#define ASIO_MOVE_CAST(type)