...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Constructor.
template< class ChunkExtensions, class Allocator> chunk_header( std::size_t size, ChunkExtensions&& extensions, Allocator const& allocator);
This constructs a buffer sequence representing a chunked-body
size and terminating CRLF ("\\r\\n"
)
with provided chunk extensions. The specified allocator is used to provide
storage for the extensions object.
Name |
Description |
---|---|
|
The size of the chunk body that follows. The value be greater than zero. |
|
The chunk extensions object. The expression |
|
The allocator to provide storage for the moved or copied extensions object. |
This function participates in overload resolution only if ChunkExtensions meets the requirements stated above.