...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
template< std::size_t N> stream_parser( storage_ptr sp, parse_options const& opt, std::byte(&) buffer [N]);
This constructs a new parser which first uses the caller-owned storage
buffer for temporary
storage, falling back to the memory resource
if needed. The parser will use the specified parsing options.
The parsed value will use the default memory resource for storage. To
use a different resource, call
reset after construction.
The memory resource to use for temporary storage after
The parsing options to use.
A buffer for the parser to use for temporary storage. Ownership
is not transferred, the caller is responsible for ensuring
the lifetime of