Clarify that mixing code unit types is deprecated
This commit is contained in:
parent
04718008ab
commit
2a8a694466
@ -354,7 +354,7 @@ template <typename Char> struct formatter<std::error_code, Char> {
|
|||||||
FMT_EXPORT
|
FMT_EXPORT
|
||||||
template <typename T, typename Char>
|
template <typename T, typename Char>
|
||||||
struct formatter<
|
struct formatter<
|
||||||
T, Char,
|
T, Char, // DEPRECATED! Mixing code unit types.
|
||||||
typename std::enable_if<std::is_base_of<std::exception, T>::value>::type> {
|
typename std::enable_if<std::is_base_of<std::exception, T>::value>::type> {
|
||||||
private:
|
private:
|
||||||
bool with_typename_ = false;
|
bool with_typename_ = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user