Add wchar.h for wide char overloads

This commit is contained in:
Victor Zverovich
2021-05-17 21:59:10 -07:00
parent ce14eafc24
commit 0dd91e20d5
8 changed files with 105 additions and 47 deletions
-5
View File
@@ -590,11 +590,6 @@ TEST(core_test, to_string_view_foreign_strings) {
EXPECT_EQ(type, fmt::detail::type::string_type);
}
TEST(core_test, format_foreign_strings) {
using namespace test_ns;
EXPECT_EQ(fmt::format(test_string<char>("{}"), 42), "42");
}
struct implicitly_convertible_to_string {
operator std::string() const { return "foo"; }
};