mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-02-08 10:46:52 +08:00
try again. need test refactoring.
This commit is contained in:
parent
8a518f4308
commit
7ce53435fc
@ -86,11 +86,11 @@ template <typename UC> struct parse_options_t {
|
|||||||
: format(fmt), decimal_point(dot), base(b) {}
|
: format(fmt), decimal_point(dot), base(b) {}
|
||||||
|
|
||||||
/** Which number formats are accepted */
|
/** Which number formats are accepted */
|
||||||
const chars_format format;
|
chars_format format;
|
||||||
/** The character used as decimal point */
|
/** The character used as decimal point */
|
||||||
const UC decimal_point;
|
UC decimal_point;
|
||||||
/** The base used for integers */
|
/** The base used for integers */
|
||||||
const uint_fast8_t base; /* only allowed from 2 to 36 */
|
uint_fast8_t base; /* only allowed from 2 to 36 */
|
||||||
};
|
};
|
||||||
|
|
||||||
using parse_options = parse_options_t<char>;
|
using parse_options = parse_options_t<char>;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user