mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-10-29 02:17:15 +08:00
auto answer = fast_float::parse_number_string<true>(
f.data(), f.data() + f.size(),
fast_float::parse_options(
fast_float::chars_format::json |
fast_float::chars_format::allow_leading_plus)); // should be ignored
if (!answer.invalid) {
std::cerr << "json parse accepted invalid json " << f << std::endl;
return EXIT_FAILURE;
}
|
||
|---|---|---|
| .. | ||
| ascii_number.h | ||
| bigint.h | ||
| constexpr_feature_detect.h | ||
| decimal_to_binary.h | ||
| digit_comparison.h | ||
| fast_float.h | ||
| fast_table.h | ||
| float_common.h | ||
| parse_number.h | ||