|
0709f209c8
|
feat(templates): add initializer_list overloads to the in place constructor and emplace
|
2023-01-03 10:15:38 +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 |
|
|
d87d292691
|
refactor(templates): refactor operator== and operator<=> to member or friend
|
2022-12-18 19:11:53 +08:00 |
|
|
6cee8a1185
|
refactor(templates): remove unnecessary or harmful FORCEINLINE
|
2022-12-16 23:23:05 +08:00 |
|
|
ac9e0d38a6
|
refactor(templates): add FORCEINLINE to the constexpr function
|
2022-12-13 22:02:39 +08:00 |
|
|
89c173897e
|
perf(templates): refactor the TFunction so that it no longer refers to TAny
|
2022-12-12 23:29:22 +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 |
|
|
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 |
|
|
a4ac19673f
|
refactor(templates): trivializes TOptional and TVariant operations for types that use trivially copy/move operations
|
2022-11-17 23:17:50 +08:00 |
|
|
f96c000b9e
|
refactor(*): make the template class concept indistinguishable from cv-qualified
|
2022-11-17 20:57:54 +08:00 |
|
|
9a3c957b38
|
refactor(templates): add sizeof...(Ts) > 0 constraint to TVariant
|
2022-11-17 18:48:20 +08:00 |
|
|
3f56a2beca
|
style(*): enclose the requires expression in parentheses as required by GCC
|
2022-11-16 22:03:54 +08:00 |
|
|
d37eee0d23
|
style(*): replaces Types... in the template parameters with Ts...
|
2022-11-16 19:13:37 +08:00 |
|
|
af07b1a134
|
refactor(templates): enhance encapsulation by changing part of the struct to a class
|
2022-11-15 19:28:43 +08:00 |
|
|
f1d4d99ecf
|
refactor(*): replaces template class type traits with C++20 at all
|
2022-06-16 23:37:29 +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 |
|
|
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 |
|
|
6a5a101af4
|
refactor(typetraits): replaces template class type traits with concepts for TypeTraits/Miscellaneous.h
|
2022-05-22 22:36:15 +08:00 |
|
|
413762a90a
|
refactor(typetraits): replaces template class type traits with concepts for TypeTraits/SupportedOperations.h
|
2022-05-22 22:36:04 +08:00 |
|
|
1dcd3dc3b3
|
refactor(typetraits): replaces template class type traits with concepts for TypeTraits/PrimaryType.h
|
2022-05-22 22:34:43 +08:00 |
|
|
eeef55e9b4
|
refactor(*): remove FTypeInfo and replace it with the native std::type_info
|
2022-05-12 23:36:32 +08:00 |
|
|
522c71f2b6
|
refactor(templates): optimize the implementation of TOptional and TVariant
|
2022-05-03 18:22:41 +08:00 |
|
|
897ee4f283
|
fix(miscellaneous): fix misbehavior of assertions under some build types
|
2022-04-26 23:04:50 +08:00 |
|
|
099cba38f4
|
refactor(templates): simplify TTuple implementation
|
2022-04-25 23:04:19 +08:00 |
|
|
c2eca8df1e
|
refactor(templates): remove the GetData function from the non-container class
|
2022-04-24 22:42:40 +08:00 |
|
|
04d713cd93
|
refactor(templates): refactor GetTypeHash into a member function
|
2022-04-22 22:28:44 +08:00 |
|
|
018d3afb73
|
refactor(templates): refactor Swap into a member function
|
2022-04-14 22:41:22 +08:00 |
|
|
943c7c5991
|
refactor(templates): add constraints to reduce duplicate code on TAny etc
|
2022-04-03 22:55:17 +08:00 |
|
|
5f4b0d8c22
|
feat(templates): add type traits to determine if it is TAny etc
|
2022-03-31 17:36:48 +08:00 |
|
|
54ab72224f
|
feat(templates): add type hash support and the corresponding testing
|
2022-03-31 16:40:31 +08:00 |
|
|
c4c205e35b
|
refactor(templates): optimize TOptional and TVariant, add necessary constraints
|
2022-03-31 12:07:15 +08:00 |
|
|
782f5f5cb2
|
fix(templates): fix the initialization problem of TVariant members with cv-qualifiers
|
2022-03-30 12:06:05 +08:00 |
|
|
0c6bf06a56
|
refactor(templates): optimize visit functions for TOptional, TVariant and TAny, add necessary constraints
|
2022-03-23 17:49:30 +08:00 |
|
|
2f55c84c32
|
feat(templates): add TOptional and TVariant to compare the equivalence of Invalid
|
2022-03-22 11:12:05 +08:00 |
|
|
e0aab7e0b9
|
perf(templates): add requires on the content of TOptional and TVariant
|
2022-03-21 18:40:30 +08:00 |
|
|
1bff879a0b
|
style(*): move some constants and placeholders to CoreMiscDefines.h
|
2022-03-17 09:22:48 +08:00 |
|
|
2448653fa0
|
style(miscellaneous): move Placeholders.h from Templates to Miscellaneous
|
2022-03-16 09:58:23 +08:00 |
|
|
d8ae39b980
|
feat(templates): add TVariant and the corresponding testing
|
2022-03-15 19:26:31 +08:00 |
|