This commit is contained in:
Victor Zverovich 2020-11-24 14:54:15 -08:00
parent 0683fa7d1d
commit 926233bde8

View File

@ -2439,6 +2439,8 @@ struct custom_char {
operator int() const { return value; } operator int() const { return value; }
}; };
int to_ascii(custom_char c) { return c; }
FMT_BEGIN_NAMESPACE FMT_BEGIN_NAMESPACE
template <> struct is_char<custom_char> : std::true_type {}; template <> struct is_char<custom_char> : std::true_type {};
FMT_END_NAMESPACE FMT_END_NAMESPACE