mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-08 13:40:15 +00:00
Implement 'll' specifier.
This commit is contained in:
parent
5614295aa1
commit
d3a7039e31
@ -916,7 +916,10 @@ void fmt::internal::PrintfFormatter<Char>::format(
|
|||||||
ArgConverter<short>(arg, *s).visit(arg);
|
ArgConverter<short>(arg, *s).visit(arg);
|
||||||
break;
|
break;
|
||||||
case 'l':
|
case 'l':
|
||||||
ArgConverter<long>(arg, *s).visit(arg);
|
if (*s == 'l')
|
||||||
|
ArgConverter<long long>(arg, *++s).visit(arg);
|
||||||
|
else
|
||||||
|
ArgConverter<long>(arg, *s).visit(arg);
|
||||||
break;
|
break;
|
||||||
case 'j':
|
case 'j':
|
||||||
ArgConverter<intmax_t>(arg, *s).visit(arg);
|
ArgConverter<intmax_t>(arg, *s).visit(arg);
|
||||||
|
Loading…
Reference in New Issue
Block a user