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: asio/buffer_registration.hpp
Convenience header: asio.hpp