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 a snapshot of the develop branch, built from commit 2a044651b7.
PrevUpHomeNext

number_precision

Enumeration of number parsing modes.

Synopsis

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

enum class number_precision
    : unsigned char;
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