...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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...
Header: boost/asio/buffer_registration.hpp
Convenience header: boost/asio.hpp