Commit Graph

25 Commits

Author SHA1 Message Date
09bbcecc28 feat(string): add functions to categorize strings 2024-11-10 19:24:40 +08:00
7a80a80a12 fix(string): fix incorrect TChar results due to signed char 2024-11-10 19:21:49 +08:00
90c2a37a2c feat(string): add TChar::IsASCII to determine if it is an ASCII character 2024-11-10 18:45:15 +08:00
43c59399d1 feat(string): add formatting without format string of arithmetic types to strings 2024-11-08 22:12:24 +08:00
0bb036eec7 refactor(string): change the placeholder escape for format string to <[{ }]> avoiding surprises 2024-11-08 22:10:22 +08:00
d8803880f1 feat(string): add parsing of arithmetic types from strings 2024-11-08 20:46:57 +08:00
211a30525e feat(string): add string parsing and formatting functions 2024-11-08 20:38:19 +08:00
76e96b06c7 refactor(string): refactor string find family to return INDEX_NONE without check(false) when index is invalid 2024-11-08 17:55:35 +08:00
2a4d65c60e fix(string): fix TStringView's member function incorrectly return TArrayView 2024-11-03 21:22:01 +08:00
64b468d612 feat(string): add macros such as TEXT_VIEW to create string view text literals 2024-11-03 15:56:38 +08:00
8507ae32e3 refactor(string): refactor TStringView to inherit from TArrayView 2024-11-03 10:45:54 +08:00
3ed3ec5258 refactor(string): refactor TString to inherit from TArray and without null-termination 2024-11-02 23:18:13 +08:00
243076cfec refactor(containers): remove the container's final qualifier allows it to be inherited 2024-11-02 20:49:48 +08:00
ec2a240c23 refactor(*): remove TObserverPtr and use raw pointer instead 2024-11-01 19:51:44 +08:00
9785326b18 feat(memory): add ToAddress and refactor the code with it 2024-11-01 15:11:45 +08:00
1cfa252779 fix(containers): remove qualifiers for Iterator::ElementType 2024-10-30 23:14:52 +08:00
e73cf69cb9 feat(string): add string encoding conversion function 2024-10-29 20:44:38 +08:00
155044cc52 feat(containers): add TString and the corresponding testing 2024-10-28 17:51:21 +08:00
cc318f693f feat(string): add TStringView and remove TCString and merge it into TStringView 2024-10-27 11:29:45 +08:00
3df9122ef0 refactor(string): refactor TChar to enhance support for unicode 2024-10-26 21:15:27 +08:00
6c9beec4be refactor(string): use end sentinel instead of buffer size to simplify implementation and usage 2024-09-28 21:07:06 +08:00
d52f0c4df8 fix(string): fix a potential error in the TCString due to short-circuit evaluation 2024-09-24 15:07:57 +08:00
00838c2e35 perf(string): add NODISCARD tag to some functions 2024-09-21 15:54:01 +08:00
d137170ccb feat(string): add null-terminated byte string handling functions and the corresponding testing 2024-09-20 22:53:15 +08:00
5210db43b3 feat(string): add single character utility and the corresponding testing 2024-09-17 18:06:02 +08:00