...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
basic_parser
that
parses into a given type
Defined in header <boost/json/parse_into.hpp>
template< class T> using parser_for = see-below;
This is an alias template for basic_parser
instantiations that
use a dedicated handler that parses directly into an object provided by the
user instead of creating a value
.
Objects of type parser_for<T>
have constructor signature equivalent to parser_for( parse_options
const&,
T&
)
.
Type |
Description |
---|---|
|
the type to parse into. This type must be DefaultConstructible. |
Convenience header <boost/json.hpp>