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
parser::parser (4 of 8 overloads)

Constructor.

Synopsis
parser(
    storage_ptr sp,
    parse_options const& opt);
Description

This constructs a new parser which uses the specified memory resource for temporary storage, and is configured to 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.

Complexity

Constant.

Exception Safety

No-throw guarantee.

Parameters

Name

Description

sp

The memory resource to use for temporary storage.

opt

The parsing options to use.


PrevUpHomeNext