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

number_precision

Enumeration of number parsing modes.

Synopsis

Defined in header <boost/json/parse_options.hpp>

enum number_precision
Values

Name

Description

imprecise

Fast, but potentially less precise mode.

precise

Slower, but precise mode.

none

The fastest mode, that only validates encountered numbers without parsing them.

Description

These values are used to select the way to parse numbers.

See Also

parse_options, basic_parser, parser.

Convenience header <boost/json.hpp>


PrevUpHomeNext