refactor: add utf convertion namespace

This commit is contained in:
yyc12345 committed 2025-07-02 10:36:33 +08:00
1 parent 6e884d865d
commit cec6091996
7 files changed
+259 -236

No files matched your search

+5
View File
@@ -18,6 +18,11 @@
// ===== C++ Features =====
// Check whether there is support of UTF8 string system.
#if defined(__cpp_char8_t) || defined(YYCC_CPPFEAT_GE_CPP20)
#define YYCC_CPPFEAT_UTF8
#endif
// Check whether there is support of `contains` for `set` and `map` including their varients.
#if defined(YYCC_CPPFEAT_GE_CPP20)
#define YYCC_CPPFEAT_CONTAINS