Commit Graph
293 Commits
Author SHA1 Message Date
Redstone1024 bae95fa438 feat(containers): add TCountedIterator and operations support 2023-02-16 23:34:21 +08:00
Redstone1024 4bbb8e395a feat(containers): add ENABLE_RANGE_BASED_FOR_LOOP_SUPPORT macro definition 2023-02-15 23:41:05 +08:00
Redstone1024 273be032ec feat(containers): add TMoveIterator and operations support 2023-02-15 23:36:18 +08:00
Redstone1024 c4e0528d93 fix(memory): support for creating TUniqueRef object from MakeUnique() 2023-02-14 23:53:34 +08:00
Redstone1024 fb0d1e978d refactor(memory): disable comparison of TUniquePtr and TSharedPtr with nullptr 2023-02-13 23:31:58 +08:00
Redstone1024 0c54bbe2ac refactor(memory): remove FNoInit versions of MakeUnique() and MakeShared() 2023-02-13 21:56:16 +08:00
Redstone1024 05d59ed323 feat(containers): add TReverseIterator and operations support 2023-02-13 19:26:09 +08:00
Redstone1024 151c90d371 refactor(memory): summing allocator support into one header file 2023-02-13 18:51:53 +08:00
Redstone1024 4ab63da977 feat(containers): add iterator concepts and operations support 2023-02-12 23:46:30 +08:00
Redstone1024 3efabc342f fix(memory): fix segfault error caused by freeing nullptr with Free() 2023-02-12 23:45:13 +08:00
Redstone1024 05e62e1381 feat(containers): add TArray and the corresponding testing 2023-02-08 23:31:35 +08:00
Redstone1024 febffc453a feat(memory): add FAllocatorInterface and FHeapAllocator 2023-02-08 23:18:24 +08:00
Redstone1024 c634c2757c feat(memory): add InOutPtr and the corresponding testing 2023-01-21 14:34:57 +08:00
Redstone1024 73b5305d34 fix(miscellaneous): fix LNK2005 errors of MSVC caused by GSignalDefault etc 2023-01-20 23:33:30 +08:00
Redstone1024 c7f50957db perf(miscellaneous): optimize check_no_entry() and unimplemented() 2023-01-20 23:22:19 +08:00
Redstone1024 0d99fad3f0 feat(memory): add TObserverPtr and the corresponding testing 2023-01-20 23:02:57 +08:00
Redstone1024 1b2ea5c2a6 feat(templates): add TRetainedRef and the corresponding testing 2023-01-20 22:24:21 +08:00
Redstone1024 2ef2c4a729 feat(templates): add TPropagateConst and the corresponding testing 2023-01-20 21:05:08 +08:00
Redstone1024 e498d9b0b8 refactor(*): move TUniquePtr and TSharedPtr to memory from templates category 2023-01-19 19:34:17 +08:00
Redstone1024 d029ab0dfc feat(miscellaneous): add program support utilities such as Abort() or System() etc 2023-01-19 19:17:45 +08:00
Redstone1024 52cd65dbad feat(templates): add TPointerTraits and the corresponding testing 2023-01-16 21:02:54 +08:00
Redstone1024 96e6fb22cd fix(memory): fix alignment of operator new to __STDCPP_DEFAULT_NEW_ALIGNMENT__ 2023-01-15 21:57:16 +08:00
Redstone1024 c38714220e refactor(templates): remove TSharedPtr<T>::ToSharedRef(T*) function overload 2023-01-15 18:41:38 +08:00
Redstone1024 5c2c1b4a48 fix(templates): fix TSharedFromThis not working for indirectly derived 2023-01-15 18:34:04 +08:00
Redstone1024 78979b414a perf(templates): remove unnecessary and wrong reinterpret_cast in TSharedPtr 2023-01-13 23:14:11 +08:00
Redstone1024 caabc51803 feat(templates): add CTUniquePtr and CTSharedPtr etc 2023-01-12 22:06:10 +08:00
Redstone1024 10b8e0fc45 fix(templates): fix requires of TUniquePtr and TSharedPtr for arrays 2023-01-11 23:14:40 +08:00
Redstone1024 9472686d99 feat(templates): add TSharedPtr and the corresponding testing 2023-01-11 19:29:17 +08:00
Redstone1024 49023da0c1 feat(memory): add memory leak check assertion 2023-01-11 19:24:02 +08:00
Redstone1024 d8543421a0 feat(miscellaneous): add DO_CHECK and check_code() assertion macros 2023-01-09 22:00:34 +08:00
Redstone1024 d825285a4a feat(typetraits): add CDerivedFrom and the corresponding testing 2023-01-08 18:03:05 +08:00
Redstone1024 c7e3ac32b4 refactor(templates): TUniquePtr calls the deleter using Invoke() instead 2023-01-07 19:30:21 +08:00
Redstone1024 b7c3ffd0fb perf(templates): optimize the performance of TAtomic::FetchFn() 2023-01-07 11:10:19 +08:00
Redstone1024 4f4a351316 perf(templates): simplify the requires for TUniquePtr and rename something 2023-01-06 20:24:28 +08:00
Redstone1024 1a5f3c9c54 refactor(templates): modify the TReferenceWrapper to be like std 2023-01-06 19:17:41 +08:00
Redstone1024 403f0721e1 feat(templates): add TUniquePtr and the corresponding testing 2023-01-06 18:28:31 +08:00
Redstone1024 55242cdd99 refactor(templates): remove TFunctionRef::IsValid() etc to avoid ambiguity 2023-01-03 20:40:27 +08:00
Redstone1024 72fd58b8bd refactor(templates): change the derived class of FNoncopyable to private inheritance 2023-01-03 19:22:06 +08:00
Redstone1024 66baa51e30 feat(templates): overloads the GetTypeHash algorithm for array 2023-01-03 10:15:38 +08:00
Redstone1024 1deb09480f refactor(templates): restrict the return value types of GetData and GetNum 2023-01-03 10:15:38 +08:00
Redstone1024 95b492851a fix(templates): fix the implementation of the Swap algorithm for arrays 2023-01-03 10:15:38 +08:00
Redstone1024 96ecd33c16 feat(templates): add TScopeCallback TGuardValue and TScopeCounter 2023-01-03 10:15:38 +08:00
Redstone1024 0709f209c8 feat(templates): add initializer_list overloads to the in place constructor and emplace 2023-01-03 10:15:38 +08:00
Redstone1024 5338cd286a feat(templates): overloads the Swap algorithm for array 2023-01-03 10:14:53 +08:00
Redstone1024 e4d59b9832 refactor(templates): add final specifier for template class 2022-12-30 19:11:01 +08:00
Redstone1024 9368a49806 style(*): add comments and attribute specifiers 2022-12-29 21:55:02 +08:00
Redstone1024 b75cb30f4f refactor(templates): refactor GetTypeHash and Swap to friend 2022-12-19 18:00:52 +08:00
Redstone1024 de059cb980 fix(templates): disable TReferenceWrapper swap and enable it into FAny 2022-12-18 19:28:33 +08:00
Redstone1024 d87d292691 refactor(templates): refactor operator== and operator<=> to member or friend 2022-12-18 19:11:53 +08:00
Redstone1024 6cee8a1185 refactor(templates): remove unnecessary or harmful FORCEINLINE 2022-12-16 23:23:05 +08:00