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 2013. The current version is 1.90.0.
The type for each element in the list of buffers.
typedef const_buffer value_type;
|
Name |
Description |
|---|---|
|
Construct an empty buffer. Construct a buffer to represent a given memory range. Construct a non-modifiable buffer from a modifiable one. |
|
Name |
Description |
|---|---|
|
Cast a non-modifiable buffer to a specified pointer to POD type. |
|
|
Get the number of bytes in a non-modifiable buffer. |
|
|
Create a new non-modifiable buffer that is offset from the start of another. |
The const_buffer class provides a safe representation of a buffer that cannot be modified. It does not own the underlying data, and so is cheap to copy or assign.