fmt: implement char8_t string support

This commit is contained in:
Nekotekina 2021-07-10 16:03:43 +03:00 committed by Ivan
parent 15ae06a7c4
commit ea0c559bc3

View File

@ -205,6 +205,16 @@ struct fmt_class_string<char*, void> : fmt_class_string<const char*>
// Classify char* as const char*
};
template <>
struct fmt_class_string<const char8_t*, void> : fmt_class_string<const char*>
{
};
template <>
struct fmt_class_string<char8_t*, void> : fmt_class_string<const char8_t*>
{
};
struct fmt_type_info
{
decltype(&fmt_class_string<int>::format) fmt_string;