Add more standards

This commit is contained in:
Victor Zverovich
2020-11-14 11:52:35 -08:00
parent f81c14aa1e
commit f8640d4050
2 changed files with 14 additions and 3 deletions

View File

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