refactor: add utf convertion namespace

This commit is contained in:
2025-07-02 10:36:33 +08:00
parent 6e884d865d
commit cec6091996
7 changed files with 259 additions and 236 deletions

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