Deprecated initializer_list join

This commit is contained in:
Victor Zverovich
2026-03-05 16:32:50 -08:00
parent 282b68cbd7
commit d38881410a
4 changed files with 2 additions and 9 deletions
-6
View File
@@ -433,12 +433,6 @@ TEST(ranges_test, join_tuple) {
#endif
}
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", "!"}, " ")),
"fmt rocks !");
}
struct zstring_sentinel {};
bool operator==(const char* p, zstring_sentinel) { return *p == '\0'; }