mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 09:16:50 +08:00
format, fuck.
This commit is contained in:
parent
e5f189754f
commit
3f9e488979
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user