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
stream_parser::stream_parser (5 of 8 overloads)

Constructor.

Synopsis
stream_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