| Home | Libraries | People | FAQ | More

###### basic_parser::basic_parser (2 of 2 overloads)

Constructor.

<h7> Synopsis </h7>

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

<h7> Description </h7>

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

<h7> Complexity </h7>

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

<h7> Exception Safety </h7>

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

<h7> Parameters </h7>

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.

<h7> See Also </h7>

parse_options