Commit Graph

102 Commits

Author SHA1 Message Date
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
be1d91591c feat(templates): add TAny and the corresponding testing 2022-03-22 11:10:12 +08:00
e0aab7e0b9 perf(templates): add requires on the content of TOptional and TVariant 2022-03-21 18:40:30 +08:00
e03cfa956c feat(miscellaneous): add attribute specifier support 2022-03-19 23:07:04 +08:00
beaf5635ba feat(memory): add Memory/MemoryOperator.h and the corresponding testing 2022-03-19 16:05:47 +08:00
465ce882b9 fix(typetraits): fix that TIsBitwiseConstructible and TIsBitwiseRelocatable cannot completely remove cv-qualifier 2022-03-19 14:46:11 +08:00
c7d6c780b9 refactor(testing): put all test functions under the Testing namespace 2022-03-19 13:35:27 +08:00
c69ed3b9e1 feat(typetraits): complete type traits for bitwise operations 2022-03-19 13:27:37 +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
1bff879a0b style(*): move some constants and placeholders to CoreMiscDefines.h 2022-03-17 09:22:48 +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
2448653fa0 style(miscellaneous): move Placeholders.h from Templates to Miscellaneous 2022-03-16 09:58:23 +08:00
c46e5059aa style(testing): fix the location of the function API macro 2022-03-16 09:27:58 +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
48a344796a fix(typetraits): Remove wrong circular include 2022-03-15 10:07:22 +08:00
0b4cb1a9e0 style(templates): redefine placeholders such as ForceInit, InPlace, etc. 2022-03-14 18:03:57 +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
babc7327eb feat(miscellaneous): add enumerators such as ENoInit and EInPlace 2022-03-08 23:04:55 +08:00
cdc5bd77e9 style(concept): minimize Concepts' header file dependency on Templates 2022-03-06 23:32:39 +08:00
f94621e7e0 fix(templates): fix TReferenceWrapper compilation error on GCC 2022-03-04 22:53:24 +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
3724188602 fix(templates): fix the problem that FNoncopyable etc. cannot be constructed 2022-02-03 22:25:02 +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
172a92edfe feat(templates): add basic tools such as Templates/Templates.h 2022-02-03 16:45:34 +08:00
a2847b8910 feat(concept): add basic concepts and the corresponding testing 2022-02-02 19:04:42 +08:00
a13b5832fc feat(typetraits): add TCommonReference and the corresponding testing 2022-01-11 23:21:05 +08:00
8baaa50335 refactor(typetraits): remove TypeTraits namespace and bool operation template 2021-12-26 15:57:09 +08:00
fc38e3d913 fix(typetraits): optimize TIsScopedEnum implementation and flag TInvokeResult errors 2021-12-26 15:27:56 +08:00
73bb0e9cfa feat(typetraits): add TypeTraits/TypeTraits.h 2021-12-23 23:30:07 +08:00
97fbe0fc84 feat(typetraits): add TypeTraits/Miscellaneous.h and the corresponding testing 2021-12-22 23:24:25 +08:00
c37f2c3153 refactor(typetraits): make TConstant more in line with std style 2021-12-20 22:41:11 +08:00
c973a8674b feat(typetraits): add TypeTraits/SupportedOperations.h and the corresponding testing 2021-12-13 23:29:53 +08:00
7490dfae67 feat(typetraits): add TypeTraits/TypeProperties.h and the corresponding testing 2021-12-12 22:54:43 +08:00
29c01baf63 feat(typetraits): add TypeTraits/CompositeType.h and the corresponding testing 2021-12-12 10:32:22 +08:00
60b4ec6f58 feat(typetraits): add TypeTraits/PrimaryType.h and the corresponding testing 2021-12-10 21:43:57 +08:00
cfb53c21e0 feat(misc): add AssertionMacros.h and the corresponding testing 2021-12-09 20:25:56 +08:00
271a3f49c3 refactor(platform): subdivide the platform category into specific categories 2021-12-05 23:06:15 +08:00
4605c0a682 refactor(*): change namespace relationships and fix name errors 2021-12-03 22:55:37 +08:00
6c49240000 完成 平台宏及基础支持 2021-12-02 23:20:40 +08:00
5d771f7558 增加模块命名空间声明 防止符号冲突 2021-12-02 22:50:05 +08:00
39da2d9fbd 修正目录 NS 宏改为 NAMESPACE 2021-12-01 22:55:35 +08:00