...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Automatically registers and unregistered buffers with an execution context.
template< typename MutableBufferSequence, typename Allocator = std::allocator<void>> class buffer_registration
Name |
Description |
---|---|
The allocator type used for allocating storage for the buffers container. |
|
The type of a const iterator over the registered buffers. |
|
The type of an iterator over the registered buffers. |
Name |
Description |
---|---|
Get the buffer at the specified index. |
|
Get the begin iterator for the sequence of registered buffers. |
|
buffer_registration [constructor] |
Register buffers with an executor's execution context. |
Get the begin iterator for the sequence of registered buffers. |
|
Get the end iterator for the sequence of registered buffers. |
|
Get the end iterator for the sequence of registered buffers. |
|
Move assignment. |
|
Get the buffer at the specified index. |
|
Get the number of registered buffers. |
|
~buffer_registration [destructor] |
Unregisters the buffers. |
For portability, applications should assume that only one registration is permitted per execution context.
Header: boost/asio/buffer_registration.hpp
Convenience header: boost/asio.hpp