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

PrevUpHomeNext
parser::parser (5 of 8 overloads)

Constructor.

Synopsis
parser(
    storage_ptr sp);
Description

This constructs a new parser which uses the specified memory resource for temporary storage, and accepts only strict JSON.

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.


PrevUpHomeNext