...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Automatically resizable buffer class based on std::streambuf.
template< typename Allocator = std::allocator<char>> class basic_streambuf : noncopyable
Name |
Description |
---|---|
The type used to represent the get area as a list of buffers. |
|
The type used to represent the put area as a list of buffers. |
Name |
Description |
---|---|
Construct a buffer with a specified maximum size. |
|
Move the start of the put area by the specified number of characters. |
|
Move the start of the get area by the specified number of characters. |
|
Get a list of buffers that represents the get area. |
|
Return the maximum size of the buffer. |
|
Get a list of buffers that represents the put area, with the given size. |
|
Return the size of the get area in characters. |