Commit Graph

24 Commits

Author SHA1 Message Date
95b492851a fix(templates): fix the implementation of the Swap algorithm for arrays 2023-01-03 10:15:38 +08:00
5338cd286a feat(templates): overloads the Swap algorithm for array 2023-01-03 10:14:53 +08:00
e4d59b9832 refactor(templates): add final specifier for template class 2022-12-30 19:11:01 +08:00
9368a49806 style(*): add comments and attribute specifiers 2022-12-29 21:55:02 +08:00
b75cb30f4f refactor(templates): refactor GetTypeHash and Swap to friend 2022-12-19 18:00:52 +08:00
ac9e0d38a6 refactor(templates): add FORCEINLINE to the constexpr function 2022-12-13 22:02:39 +08:00
01eec5d4c0 feat(templates): add TTypeSequence and meta tools 2022-12-03 23:11:05 +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
e35fa9dd11 fix(templates): fix DeclVal implementation 2022-11-21 22:04:17 +08:00
3f56a2beca style(*): enclose the requires expression in parentheses as required by GCC 2022-11-16 22:03:54 +08:00
f347132725 fix(templates): fix compile error in TReferenceWrapper constructor 2022-11-15 22:15:10 +08:00
391670adb7 feat(templates): remove AsConst for array 2022-11-15 21:02:29 +08:00
2ce259e7cc refactor(typetraits): replaces template class type traits with alias template for TypeTraits/Miscellaneous.h 2022-05-22 22:52:47 +08:00
ee46d84897 refactor(typetraits): replaces template class type traits with concepts at all 2022-05-22 22:36:30 +08:00
413762a90a refactor(typetraits): replaces template class type traits with concepts for TypeTraits/SupportedOperations.h 2022-05-22 22:36:04 +08:00
22fe906eda refactor(typetraits): replaces template class type traits with concepts for TypeTraits/CompositeType.h 2022-05-22 22:35:11 +08:00
018d3afb73 refactor(templates): refactor Swap into a member function 2022-04-14 22:41:22 +08:00
d8a4908a88 feat(templates): add TTuple and the corresponding testing 2022-03-31 09:39:30 +08:00
e1871de73b perf(templates): fix the redefinition of Swap function in private namespaces 2022-03-26 19:31:45 +08:00
d8ae39b980 feat(templates): add TVariant and the corresponding testing 2022-03-15 19:26:31 +08:00
8a3b089648 feat(templates): add TOptional and the corresponding testing 2022-03-13 23:18:07 +08:00
2bc852b63c feat(templates): add AddressOf function and the corresponding testing 2022-02-09 17:07:47 +08:00
b0c170f803 feat(templates): improve Swap functions and peripheral tools 2022-02-04 16:34:41 +08:00
172a92edfe feat(templates): add basic tools such as Templates/Templates.h 2022-02-03 16:45:34 +08:00