Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
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,
    typename constraint< is_executor< Executor >::value||execution::is_executor< Executor >::value >::type  = 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,
    typename constraint< is_executor< Executor >::value||execution::is_executor< Executor >::value >::type  = 0);
  » more...

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

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

Header: boost/asio/buffer_registration.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext