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 an older version of Boost and was released in 2021. The current version is 1.91.0.
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...
Header: boost/asio/buffer_registration.hpp
Convenience header: boost/asio.hpp