mirror of
https://github.com/fmtlib/fmt.git
synced 2026-10-30 10:57:30 +08:00
nested_format_specs::write formatted the body of a padded value into a temporary buffer using a context of the same type as the outer one. This only works when the outer context writes to an appender, so FMT_COMPILE and format_to with other output iterators failed to compile even when no width was given. Use a buffer context that takes arguments and locale from the outer context when the outer context doesn't write to an appender. Fixes #4949. |
||
|---|---|---|
| .. | ||
| fmt | ||