11 #ifndef ASIO_WINDOWS_OVERLAPPED_PTR_HPP 12 #define ASIO_WINDOWS_OVERLAPPED_PTR_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 20 #if defined(ASIO_HAS_WINDOWS_OVERLAPPED_PTR) \ 21 || defined(GENERATING_DOCUMENTATION) 52 template <
typename Handler>
72 template <
typename Handler>
86 const OVERLAPPED*
get()
const 94 return impl_.release();
99 std::size_t bytes_transferred)
101 impl_.complete(ec, bytes_transferred);
105 detail::win_iocp_overlapped_ptr impl_;
113 #endif // defined(ASIO_HAS_WINDOWS_OVERLAPPED_PTR) 116 #endif // ASIO_WINDOWS_OVERLAPPED_PTR_HPP Provides core I/O functionality.
asio::basic_streambuf< Allocator > CompletionCondition ASIO_MOVE_ARG(ReadHandler) handler)
Class to represent an error code value.
#define ASIO_MOVE_CAST(type)