mirror of
https://github.com/fmtlib/fmt.git
synced 2026-10-29 10:27:38 +08:00
The formatters for std::variant, std::monostate, std::expected and std::unexpected wrote narrow string literals with detail::write<Char>, which is ambiguous for wchar_t, so formatting these types into a wide string failed to compile even though is_formattable reported them as formattable. Use detail::string_literal like the std::optional formatter does. |
||
|---|---|---|
| .. | ||
| fmt | ||