Files
fmt/test
egorkaa cde18a38bb Support width and alignment in std::exception formatter (#4860)
* Support width and alignment in std::exception formatter

The formatter for std::exception (and std::exception_ptr) previously
accepted only the optional 't' type-name specifier, so standard fill,
align and width specifiers were rejected with "unknown format
specifier". This made it impossible to pad or align exception messages,
e.g. when laying them out in a log column.

Parse the standard fill/align/width specifiers (as the std::filesystem::
path formatter already does) and apply them when writing the message.
Dynamic width ({:{}}) and the 'none'/'unknown exception' cases for
exception_ptr are handled too. Existing behavior ({}, {:t}, nested
exception unwinding) is unchanged.

* Update std.h
2026-08-13 11:00:46 -07:00
..
2026-07-23 13:10:37 -07:00
2026-03-03 15:49:40 -08:00
2026-03-03 15:49:40 -08:00
2026-03-03 15:49:40 -08:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-06-26 12:29:26 -07:00
2026-06-08 08:18:43 +02:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2024-01-09 19:36:12 -08:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2024-07-17 06:59:24 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00
2026-05-31 08:54:06 -07:00