...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> chunk_header( std::size_t size, ChunkExtensions&& extensions);
This constructs a buffer sequence representing a chunked-body
size and terminating CRLF ("\r\n"
)
with provided chunk extensions. The default allocator is used to provide
storage for the extensions object.
Name |
Description |
---|---|
|
The size of the chunk body that follows. The value must be greater than zero. |
|
The chunk extensions object. The expression |
This function participates in overload resolution only if ChunkExtensions meets the requirements stated above.