11 #ifndef ASIO_DETAIL_IMPL_TASK_IO_SERVICE_HPP 12 #define ASIO_DETAIL_IMPL_TASK_IO_SERVICE_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 30 template <
typename Handler>
42 typename op::ptr p = { asio::detail::addressof(handler),
44 sizeof(op), handler), 0 };
45 p.p =
new (p.v) op(handler);
54 template <
typename Handler>
62 typename op::ptr p = { asio::detail::addressof(handler),
64 sizeof(op), handler), 0 };
65 p.p =
new (p.v) op(handler);
78 #endif // ASIO_DETAIL_IMPL_TASK_IO_SERVICE_HPP
asio::basic_streambuf< Allocator > & b
static Value * contains(Key *k)
void invoke(Function &function, Context &context)
void post(Handler &handler)
bool is_continuation(Context &context)
void dispatch(Handler &handler)
void * allocate(std::size_t s, Handler &h)
#define ASIO_HANDLER_CREATION(args)
ASIO_DECL void post_immediate_completion(operation *op, bool is_continuation)