basic_parser::basic_parser
Constructors.
Synopsis
template<
class... Args>
explicit
basic_parser(
parse_options const& opt,
Args&&... args); (1)
basic_parser(
basic_parser const&) = delete; (2)
Description
Overload (1) constructs the parser with the specified options, with any additional arguments forwarded to the handler’s constructor.
basic_parser
is not copyable or movable, so the copy constructor is deleted.
Complexity
Same as Handler( std::forward< Args >( args )... )
.
Exception Safety
Same as Handler( std::forward< Args >( args )... )
.
Parameters
Name | Description |
---|---|
|
Configuration settings for the parser. If this structure is default constructed, the parser will accept only standard JSON. |
|
Optional additional arguments forwarded to the handler’s constructor. |