...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Set the eager parse option.
void eager( bool v);
Normally the parser returns after successfully parsing a structured element
(header, chunk header, or chunk body) even if there are octets remaining
in the input. This is necessary when attempting to parse the header first,
or when the caller wants to inspect information which may be invalidated
by subsequent parsing, such as a chunk extension. The eager
option controls whether the parser keeps going after parsing structured
element if there are octets remaining in the buffer and no error occurs.
This option is automatically set or cleared during certain stream operations
to improve performance with no change in functionality.
The default setting is false
.
Name |
Description |
---|---|
|
|