asio C++ library

PrevUpHomeNext

register_buffers

Register buffers with an execution context.

template<
    typename Executor,
    typename MutableBufferSequence>
buffer_registration< MutableBufferSequence > register_buffers(
    const Executor & ex,
    const MutableBufferSequence & buffer_sequence,
    constraint_t< is_executor< Executor >::value||execution::is_executor< Executor >::value >  = 0);
  » more...

template<
    typename Executor,
    typename MutableBufferSequence,
    typename Allocator>
buffer_registration< MutableBufferSequence, Allocator > register_buffers(
    const Executor & ex,
    const MutableBufferSequence & buffer_sequence,
    const Allocator & alloc,
    constraint_t< is_executor< Executor >::value||execution::is_executor< Executor >::value >  = 0);
  » more...

template<
    typename ExecutionContext,
    typename MutableBufferSequence>
buffer_registration< MutableBufferSequence > register_buffers(
    ExecutionContext & ctx,
    const MutableBufferSequence & buffer_sequence,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
  » more...

template<
    typename ExecutionContext,
    typename MutableBufferSequence,
    typename Allocator>
buffer_registration< MutableBufferSequence, Allocator > register_buffers(
    ExecutionContext & ctx,
    const MutableBufferSequence & buffer_sequence,
    const Allocator & alloc,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
  » more...
Requirements

Header: asio/buffer_registration.hpp

Convenience header: asio.hpp


PrevUpHomeNext