Closed tskeith closed 4 years ago
Might as well catch and convert
uint64_t
too, for that type andsize_t
, for the%z
formats.
I've added a conversion from std::uint64_t to std::uintmax_t. We don't have any instances of that yet, but we may someday.
There is no printf formatting string for
std::int64_t
. Instead we have to cast tostd::intmax_t
and use%jd
. This change simplifies that by automatically convertingstd::int64_t
tostd::intmax_t
when formatting messages.This follows the pattern of
std::string
andparser::CharBlock
, which are formatted with%s
.