Move wchar/custom char overloads to xchar.h

This commit is contained in:
Victor Zverovich
2021-06-05 22:57:45 -07:00
parent e77b22d6da
commit 76ee490468
9 changed files with 143 additions and 152 deletions
-5
View File
@@ -219,11 +219,6 @@ TEST(ranges_test, join_tuple) {
EXPECT_EQ(fmt::format("{}", fmt::join(t4, "/")), "4");
}
TEST(ranges_test, wide_string_join_tuple) {
auto t = std::tuple<wchar_t, int, float>('a', 1, 2.0f);
EXPECT_EQ(fmt::format(L"({})", fmt::join(t, L", ")), L"(a, 1, 2)");
}
TEST(ranges_test, join_initializer_list) {
EXPECT_EQ(fmt::format("{}", fmt::join({1, 2, 3}, ", ")), "1, 2, 3");
EXPECT_EQ(fmt::format("{}", fmt::join({"fmt", "rocks", "!"}, " ")),