is_formattable -> has_formatter
This commit is contained in:
1 parent
b3cf8613b1
commit
40779749ac
3 files changed
+10
-8
No files matched your search
+1
-1
@@ -1877,7 +1877,7 @@ enum TestEnum { A };
|
||||
TEST(FormatTest, Enum) { EXPECT_EQ("0", fmt::format("{}", A)); }
|
||||
|
||||
TEST(FormatTest, FormatterNotSpecialized) {
|
||||
EXPECT_FALSE((fmt::internal::is_formattable<
|
||||
EXPECT_FALSE((fmt::internal::has_formatter<
|
||||
fmt::formatter<TestEnum>, fmt::format_context>::value));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user