Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
basic_parser::basic_parser (2 of 2 overloads)

Constructor.

Synopsis
template<
    class... Args>
basic_parser(
    parse_options const& opt,
    Args&&... args);
Description

This function constructs the parser with the specified options, with any additional arguments forwarded to the handler's constructor.

Complexity

Same as Handler( std::forward< Args >( args )... ).

Exception Safety

Same as Handler( std::forward< Args >( args )... ).

Parameters

Name

Description

opt

Configuration settings for the parser. If this structure is default constructed, the parser will accept only standard JSON.

args

Optional additional arguments forwarded to the handler's constructor.

See Also

parse_options


PrevUpHomeNext