Implement UTF-8 string support

This commit is contained in:
Victor Zverovich committed 2018-09-30 15:45:58 -07:00
1 parent f8027414f5
commit 3f4cfa6c60
2 files changed
+52 -57

No files matched your search

+4
View File
@@ -2430,3 +2430,7 @@ TEST(FormatTest, U8StringViewLiteral) {
EXPECT_EQ(data[1], 'b');
}
#endif
TEST(FormatTest, FormatU8String) {
EXPECT_EQ(format(fmt::u8string_view("{}"), 42), fmt::u8string_view("42"));
}