feat(string): add null-terminated byte string handling functions and the corresponding testing

This commit is contained in:
2024-09-20 22:53:15 +08:00
parent 5210db43b3
commit d137170ccb
5 changed files with 648 additions and 34 deletions

View File

@ -19,7 +19,7 @@ NAMESPACE_MODULE_BEGIN(Utility)
#define UNLIKELY [[unlikely]]
#define NO_UNIQUE_ADDRESS [[no_unique_address]]
constexpr size_t INDEX_NONE = -1;
constexpr size_t INDEX_NONE = -1;
struct FForceInit { explicit FForceInit() = default; };
struct FNoInit { explicit FNoInit() = default; };