format, fuck.

This commit is contained in:
IRainman 2025-05-06 21:09:33 +03:00
parent e5f189754f
commit 3f9e488979

View File

@ -78,14 +78,15 @@ template <typename UC> struct parse_options_t {
constexpr explicit parse_options_t(
chars_format const fmt = chars_format::general, UC const dot = UC('.'),
chars_format_t const b = 10) noexcept
: format(fmt), decimal_point(dot), base(b) {
: format(fmt), decimal_point(dot),
base(b){
#ifdef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
// static_assert(b >= 2 && b <= 36);
// static_assert(b >= 2 && b <= 36);
#endif
}
}
/** Which number formats are accepted */
chars_format format;
/** Which number formats are accepted */
chars_format format;
/** The character used as decimal point */
UC decimal_point;
/** The base used for integers */