Remove broken fmt::internal::format_enum (#818)

This commit is contained in:
Victor Zverovich
2018-08-01 07:11:53 -07:00
parent 0c63d15ee9
commit c68bab7014
3 changed files with 4 additions and 19 deletions

View File

@@ -1443,6 +1443,10 @@ TEST(FormatTest, Enum) {
EXPECT_EQ("0", fmt::format("{}", A));
}
TEST(FormatTest, EnumFormatterUnambiguous) {
fmt::formatter<TestEnum> f;
}
#if FMT_HAS_FEATURE(cxx_strong_enums)
enum TestFixedEnum : short { B };