Commit Graph

61 Commits

Author SHA1 Message Date
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
97910be70c refactor(typetraits): simplifies concept selection and removes the concept of bitwise operations 2022-05-22 22:36:49 +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
c316b8f190 refactor(typetraits): replaces template class type traits with concepts for TypeTraits/TypeProperties.h 2022-05-22 22:35:27 +08:00
22fe906eda refactor(typetraits): replaces template class type traits with concepts for TypeTraits/CompositeType.h 2022-05-22 22:35:11 +08:00
1dcd3dc3b3 refactor(typetraits): replaces template class type traits with concepts for TypeTraits/PrimaryType.h 2022-05-22 22:34:43 +08:00
13e3b49118 refactor(templates): TFunction replaces using type aliases with derived classes 2022-05-14 22:52:21 +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
a737eea487 refactor(templates): disable TFunctionRef to bind r-valued callable 2022-05-01 18:02:26 +08:00
eb814e37d3 refactor(templates): optimize TAny implementation, increase inline storage size 2022-04-30 23:38:09 +08:00
c2c4a03974 feat(memory): add CopyConstruct and the Count parameter uses the size_t 2022-04-30 21:33:18 +08:00
7aadebba70 refactor(miscellaneous): replace TSynthThreeWay with the function version 2022-04-30 19:27:25 +08:00
38902eb779 fix(typetraits): fix implementation of TIsScopedEnum TIsSwappable and TIsBitwiseConstructible 2022-04-30 19:25:17 +08:00
897ee4f283 fix(miscellaneous): fix misbehavior of assertions under some build types 2022-04-26 23:04:50 +08:00
f72d6a53d8 refactor(templates): remove the predefined functors, Lambda is a better choice 2022-04-24 22:54:08 +08:00
6b63436d41 refactor(templates): remove TAtomic::IsLockFree function 2022-04-22 22:33:23 +08:00
4f769a9207 feat(templates): add TAtomic and the corresponding testing 2022-04-12 08:33:19 +08:00
a80860f107 feat(templates): add common functors outside STD and the corresponding testing 2022-04-10 10:25:42 +08:00
ceccf9d722 feat(templates): add common functors and the corresponding testing 2022-04-08 11:44:36 +08:00
92523a13b2 feat(templates): add TFunction and the corresponding testing 2022-04-07 15:57:02 +08:00
a539f70535 refactor(templates): make FTypeInfo behave more like std::type_info and optimize TAny 2022-04-05 17:00:33 +08:00
54ab72224f feat(templates): add type hash support and the corresponding testing 2022-03-31 16:40:31 +08:00
d8a4908a88 feat(templates): add TTuple and the corresponding testing 2022-03-31 09:39:30 +08:00
fd0bebd7be feat(miscellaneous): add TSynthThreeWay and the corresponding testing 2022-03-30 12:07:48 +08:00
91755d2196 feat(templates): add TUnwrapReference and the corresponding testing 2022-03-26 19:33:28 +08:00
be1d91591c feat(templates): add TAny and the corresponding testing 2022-03-22 11:10:12 +08:00
beaf5635ba feat(memory): add Memory/MemoryOperator.h and the corresponding testing 2022-03-19 16:05:47 +08:00
c7d6c780b9 refactor(testing): put all test functions under the Testing namespace 2022-03-19 13:35:27 +08:00
cd1a8da1a8 feat(memory): complete low-level memory management utilities 2022-03-18 20:17:28 +08:00
94416676d2 refactor(testing): rename test functions for Templates to prevent redefinition 2022-03-17 10:19:41 +08:00
b10963d310 feat(miscellaneous): add FTypeInfo and the corresponding testing 2022-03-16 11:25:48 +08:00
1b8b449ed4 style(miscellaneous): move Compare.h from Templates to Miscellaneous 2022-03-16 10:47:17 +08:00
d8ae39b980 feat(templates): add TVariant and the corresponding testing 2022-03-15 19:26:31 +08:00
8188d29a58 feat(typetraits): add TypeTraits/CopyQualifiers.h and the corresponding testing 2022-03-15 14:25:06 +08:00
f7b611febc fix(templates): fix TOptional's operator!= returned an wrong value for invalid value 2022-03-15 11:52:46 +08:00
8a3b089648 feat(templates): add TOptional and the corresponding testing 2022-03-13 23:18:07 +08:00
c2aecef3dd feat(templates): add three-way comparison operator support 2022-03-09 23:35:05 +08:00
2fa4bcea13 feat(templates): add TReferenceWrapper and the corresponding testing 2022-02-09 21:46:39 +08:00
ad80dcd78f style(miscellaneous): rename the Misc directory to Miscellaneous 2022-02-09 17:22:49 +08:00
2bc852b63c feat(templates): add AddressOf function and the corresponding testing 2022-02-09 17:07:47 +08:00
63fdd34789 feat(templates): add Invoke function and corresponding peripheral tools 2022-02-04 21:11:05 +08:00
b0c170f803 feat(templates): improve Swap functions and peripheral tools 2022-02-04 16:34:41 +08:00
bafcadc68f feat(concept): add concepts that depend on templates such as Forward and add corresponding tests 2022-02-04 15:47:57 +08:00
c70d22c85b fix(typetraits): fix compile errors caused by TCommonType and TCommonReference when there is no matching type 2022-02-03 21:18:19 +08:00
a2847b8910 feat(concept): add basic concepts and the corresponding testing 2022-02-02 19:04:42 +08:00