Boost C++ Libraries Home Libraries People FAQ More

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