Commit Graph

110 Commits

Author SHA1 Message Date
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
790b7fd5e6 feat(miscellaneous): add support for c-style variadic functions and the corresponding testing 2024-09-21 22:03:39 +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
977df63d24 feat(containers): add TList and the corresponding testing 2023-04-02 23:10:50 +08:00
1b33d3b166 feat(containers): add TStaticBitset and the corresponding testing 2023-03-15 23:10:48 +08:00
5021171324 fix(containers): remove operator<=> of TBitset because its order is not defined 2023-03-15 19:22:04 +08:00
dd8b698bb3 feat(containers): enable TBitset to support custom block type 2023-03-13 19:23:44 +08:00
432b6e0a6b feat(containers): add TBitset and the corresponding testing 2023-03-12 23:18:04 +08:00
a15ff69809 refactor(memory): remove FDefaultAllocator and directly specify a specific 2023-02-27 23:29:34 +08:00
c8650b4aa5 feat(containers): add TArrayView and use TObserverPtr instead of raw pointer 2023-02-26 21:55:36 +08:00
e9f780622f feat(containers): add TStaticArray and operations support 2023-02-24 19:09:22 +08:00
e8c9f9cc23 feat(memory): add TInlineAllocator and the corresponding testing 2023-02-22 23:33:10 +08:00
c4e0528d93 fix(memory): support for creating TUniqueRef object from MakeUnique() 2023-02-14 23:53:34 +08:00
fb0d1e978d refactor(memory): disable comparison of TUniquePtr and TSharedPtr with nullptr 2023-02-13 23:31:58 +08:00
0c54bbe2ac refactor(memory): remove FNoInit versions of MakeUnique() and MakeShared() 2023-02-13 21:56:16 +08:00
3efabc342f fix(memory): fix segfault error caused by freeing nullptr with Free() 2023-02-12 23:45:13 +08:00
05e62e1381 feat(containers): add TArray and the corresponding testing 2023-02-08 23:31:35 +08:00
c634c2757c feat(memory): add InOutPtr and the corresponding testing 2023-01-21 14:34:57 +08:00
0d99fad3f0 feat(memory): add TObserverPtr and the corresponding testing 2023-01-20 23:02:57 +08:00
1b2ea5c2a6 feat(templates): add TRetainedRef and the corresponding testing 2023-01-20 22:24:21 +08:00
2ef2c4a729 feat(templates): add TPropagateConst and the corresponding testing 2023-01-20 21:05:08 +08:00
e498d9b0b8 refactor(*): move TUniquePtr and TSharedPtr to memory from templates category 2023-01-19 19:34:17 +08:00
52cd65dbad feat(templates): add TPointerTraits and the corresponding testing 2023-01-16 21:02:54 +08:00
10b8e0fc45 fix(templates): fix requires of TUniquePtr and TSharedPtr for arrays 2023-01-11 23:14:40 +08:00
9472686d99 feat(templates): add TSharedPtr and the corresponding testing 2023-01-11 19:29:17 +08:00
49023da0c1 feat(memory): add memory leak check assertion 2023-01-11 19:24:02 +08:00
d825285a4a feat(typetraits): add CDerivedFrom and the corresponding testing 2023-01-08 18:03:05 +08:00
403f0721e1 feat(templates): add TUniquePtr and the corresponding testing 2023-01-06 18:28:31 +08:00
96ecd33c16 feat(templates): add TScopeCallback TGuardValue and TScopeCounter 2023-01-03 10:15:38 +08:00
0709f209c8 feat(templates): add initializer_list overloads to the in place constructor and emplace 2023-01-03 10:15:38 +08:00
9368a49806 style(*): add comments and attribute specifiers 2022-12-29 21:55:02 +08:00
d87d292691 refactor(templates): refactor operator== and operator<=> to member or friend 2022-12-18 19:11:53 +08:00
a8e1852b34 refactor(templates): refactor FAny to a non-template class 2022-12-15 23:38:51 +08:00
6b42dbdc05 feat(memory): add template function overload for Memmove and Memcmp 2022-12-15 23:37:41 +08:00
89c173897e perf(templates): refactor the TFunction so that it no longer refers to TAny 2022-12-12 23:29:22 +08:00
e886927a2b refactor(templates): remove TTuple::ApplyAfter and TTuple::ApplyBefore 2022-12-03 23:15:02 +08:00
9cc7ac9480 refactor(templates): refactor TVariant::Visit to Visit 2022-12-03 23:14:25 +08:00
797386f3d6 fix(templates): fix the type selection of TVariant's converting constructor 2022-12-03 23:12:29 +08:00
058f07fedc refactor(templates): allow some template classes to derive and replace some using with inheritance 2022-11-21 23:28:19 +08:00
af07b1a134 refactor(templates): enhance encapsulation by changing part of the struct to a class 2022-11-15 19:28:43 +08:00
9ff3b1c583 refactor(templates): optimize TAny and TFunction and fix TFunction alignment problem 2022-11-14 19:05:17 +08:00
f1d4d99ecf refactor(*): replaces template class type traits with C++20 at all 2022-06-16 23:37:29 +08:00
8e31a82a1f fix(memory): fix compile error when memory constructs such as Memory::CopyConstruct for cv qualifiers type 2022-06-05 22:52:55 +08:00
8b902d15a4 refactor(typetraits): replaces template class type traits with alias template for TypeTraits/Common.h 2022-05-29 23:18:20 +08:00
c6620da1dd refactor(typetraits): replaces template class type traits with alias template for TypeTraits/CopyQualifiers.h 2022-05-22 23:19:30 +08:00
4205a23310 refactor(typetraits): replaces template class type traits with alias template for TypeTraits/Invocable.h 2022-05-22 23:05:11 +08:00