Move to C++20 for non-MSVC compilers

This commit is contained in:
Tillmann Karras
2022-06-11 14:39:04 +01:00
parent 92c7566646
commit d033d92b05
4 changed files with 4 additions and 4 deletions

View File

@ -2198,7 +2198,7 @@ FMT_CONSTEXPR20 auto do_write_float(OutputIt out, const DecimalFP& fp,
-> OutputIt {
auto significand = fp.significand;
int significand_size = get_significand_size(fp);
static constexpr Char zero = static_cast<Char>('0');
const Char zero = static_cast<Char>('0');
auto sign = fspecs.sign;
size_t size = to_unsigned(significand_size) + (sign ? 1 : 0);
using iterator = reserve_iterator<OutputIt>;