|
|
Donner
C++20 SVG rendering library
|
Options to modify the parsing behavior. More...
#include "donner/base/parser/NumberParser.h"
Public Member Functions | |
| Options () | |
| Construct a default options struct. | |
Public Attributes | |
| bool | forbidOutOfRange = true |
| If this is false and the number is out of range, returns an infinite value instead of returning an error. | |
Options to modify the parsing behavior.
| bool donner::parser::NumberParser::Options::forbidOutOfRange = true |
If this is false and the number is out of range, returns an infinite value instead of returning an error.
With this set to false, assuming the input string starts with a number, all parses should return successful ParseResults.