Clarify that mixing code unit types is deprecated

This commit is contained in:
Victor Zverovich 2023-11-30 08:20:01 -08:00
parent 04718008ab
commit 2a8a694466

View File

@ -354,7 +354,7 @@ template <typename Char> struct formatter<std::error_code, Char> {
FMT_EXPORT
template <typename T, typename Char>
struct formatter<
T, Char,
T, Char, // DEPRECATED! Mixing code unit types.
typename std::enable_if<std::is_base_of<std::exception, T>::value>::type> {
private:
bool with_typename_ = false;